From cf6fc443bbf25aad3b181170bc42587bc651165d Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Sat, 4 Jun 2022 14:49:26 -0300 Subject: [PATCH] Fix type error --- .../{{cookiecutter.project_slug}}/users/tests/test_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/users/tests/test_views.py b/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/users/tests/test_views.py index 944daca52..0b47bd79f 100644 --- a/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/users/tests/test_views.py +++ b/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/users/tests/test_views.py @@ -63,7 +63,7 @@ class TestUserUpdateView: # Initialize the form form = UserAdminChangeForm() - form.cleaned_data = [] + form.cleaned_data = {} view.form_valid(form) messages_sent = [m.message for m in messages.get_messages(request)]