#28757: Allow using forms of contrib.auth without installing contrib.auth
-------------------------------------+-------------------------------------
Reporter: Sagar Chalise | Owner:
Type: | shangdahao
Cleanup/optimization | Status: new
Component: contrib.auth | Version: 1.11
Severity: Normal | Resolution:
Keywords: auth forms apps | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Tim Graham):
I tried to solve the issue by putting the reload of
`django.contrib.auth.forms` in `django.test.signals.user_model_swapped()`
rather than limiting it to the Django tests. I couldn't get it to work.
The issue is solved by adding `import django.contrib.auth.forms` to the
top of `auth_tests/test_management.py` but I don't know why that works.
--
Ticket URL: <https://code.djangoproject.com/ticket/28757#comment:8>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/070.d18e418ad31d92781917379f2f3381a8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.