Merge pull request #3734 from cookiecutter/pyup-update-django-stubs-1.9.0-to-1.11.0

This commit is contained in:
Bruno Alla 2022-06-04 19:04:05 +01:00 committed by GitHub
commit 32456543e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -14,11 +14,11 @@ watchgod==0.8.2 # https://github.com/samuelcolvin/watchgod
# Testing
# ------------------------------------------------------------------------------
mypy==0.950 # https://github.com/python/mypy
django-stubs==1.9.0 # https://github.com/typeddjango/django-stubs
django-stubs==1.11.0 # https://github.com/typeddjango/django-stubs
pytest==7.1.2 # https://github.com/pytest-dev/pytest
pytest-sugar==0.9.4 # https://github.com/Frozenball/pytest-sugar
{%- if cookiecutter.use_drf == "y" %}
djangorestframework-stubs==1.4.0 # https://github.com/typeddjango/djangorestframework-stubs
djangorestframework-stubs==1.6.0 # https://github.com/typeddjango/djangorestframework-stubs
{%- endif %}
# Documentation

View File

@ -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)]