#10827: django.auth create_permissions must clear the content type cache before
creating permissions
------------------------------------+------------------------------
Reporter: seanl | Owner: nobody
Type: Bug | Status: new
Milestone: | Component: contrib.auth
Version: SVN | Severity: Normal
Resolution: | Keywords:
Triage Stage: Accepted | Has patch: 1
Needs documentation: 0 | Needs tests: 1
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------+------------------------------
Changes (by orb@…):
* ui_ux: => 0
* easy: => 0
Comment:
I'm having this problem too. We worked around it by extending
TransactionTestCase so that _pre_setup() invokes
ContentType.objects.clear_cache(). I'd really love to see a solution to
this.
--
Ticket URL: <https://code.djangoproject.com/ticket/10827#comment:7>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.