#16373: Django admin templates trigger a DeprecationWarning -------------------------------------+------------------------------------- Reporter: slinkp | Owner: nobody Type: | Status: closed Cleanup/optimization | Component: contrib.admin Milestone: | Severity: Normal Version: 1.3 | Keywords: Resolution: invalid | Has patch: 0 Triage Stage: | Needs tests: 0 Unreviewed | Easy pickings: 0 Needs documentation: 0 | Patch needs improvement: 0 | UI/UX: 0 | -------------------------------------+-------------------------------------
Comment (by slinkp): Thanks. Adding the right context processor & middleware as per the docs solved it. It turns out that the old API is used by 'django.contrib.auth.context_processors.auth' which was in my TEMPLATE_CONTEXT_PROCESSORS. -- Ticket URL: <https://code.djangoproject.com/ticket/16373#comment:2> 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 django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.