mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-16 11:02:22 +03:00
Update django-stubs to 5.2.0 (#5804)
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
This commit is contained in:
parent
218cee4ae4
commit
da34308002
|
@ -14,7 +14,7 @@ watchfiles==1.0.5 # https://github.com/samuelcolvin/watchfiles
|
||||||
# Testing
|
# Testing
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
mypy==1.15.0 # https://github.com/python/mypy
|
mypy==1.15.0 # https://github.com/python/mypy
|
||||||
django-stubs[compatible-mypy]==5.1.3 # https://github.com/typeddjango/django-stubs
|
django-stubs[compatible-mypy]==5.2.0 # https://github.com/typeddjango/django-stubs
|
||||||
pytest==8.3.5 # https://github.com/pytest-dev/pytest
|
pytest==8.3.5 # https://github.com/pytest-dev/pytest
|
||||||
pytest-sugar==1.0.0 # https://github.com/Teemu/pytest-sugar
|
pytest-sugar==1.0.0 # https://github.com/Teemu/pytest-sugar
|
||||||
{%- if cookiecutter.use_drf == "y" %}
|
{%- if cookiecutter.use_drf == "y" %}
|
||||||
|
|
|
@ -17,7 +17,7 @@ class UserAdminChangeForm(admin_forms.UserChangeForm):
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
|
|
||||||
class UserAdminCreationForm(admin_forms.AdminUserCreationForm): # type: ignore[name-defined] # django-stubs is missing the class, thats why the error is thrown: typeddjango/django-stubs#2555
|
class UserAdminCreationForm(admin_forms.AdminUserCreationForm):
|
||||||
"""
|
"""
|
||||||
Form for User Creation in the Admin Area.
|
Form for User Creation in the Admin Area.
|
||||||
To change user signup, see UserSignupForm and UserSocialSignupForm.
|
To change user signup, see UserSignupForm and UserSocialSignupForm.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user