mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-01-25 00:34:18 +03:00
Merge pull request #3734 from cookiecutter/pyup-update-django-stubs-1.9.0-to-1.11.0
This commit is contained in:
commit
32456543e3
|
@ -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
|
||||
|
|
|
@ -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)]
|
||||
|
|
Loading…
Reference in New Issue
Block a user