mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-11-19 09:15:30 +03:00
Fix type error
This commit is contained in:
parent
502e8e5235
commit
cf6fc443bb
|
|
@ -63,7 +63,7 @@ class TestUserUpdateView:
|
||||||
|
|
||||||
# Initialize the form
|
# Initialize the form
|
||||||
form = UserAdminChangeForm()
|
form = UserAdminChangeForm()
|
||||||
form.cleaned_data = []
|
form.cleaned_data = {}
|
||||||
view.form_valid(form)
|
view.form_valid(form)
|
||||||
|
|
||||||
messages_sent = [m.message for m in messages.get_messages(request)]
|
messages_sent = [m.message for m in messages.get_messages(request)]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user