#17890: django.contrib.admin.site extra_context
------------------------------------+------------------------------------
     Reporter:  riccardodivirgilio  |                    Owner:  nobody
         Type:  Bug                 |                   Status:  new
    Component:  contrib.admin       |                  Version:  master
     Severity:  Normal              |               Resolution:
     Keywords:  extra_context       |             Triage Stage:  Accepted
    Has patch:  1                   |      Needs documentation:  1
  Needs tests:  0                   |  Patch needs improvement:  1
Easy pickings:  0                   |                    UI/UX:  0
------------------------------------+------------------------------------
Changes (by timmartin):

 * cc: timmartin (added)


Comment:

 Since the ticket was opened, `each_context()` has been added to the
 `AdminSite` class, so it's possible to provide additional context fields
 by subclassing `AdminSite` and overriding `each_context()`. Does this make
 this ticket unnecessary? I'll happily fix up the patch if it's useful, but
 I don't want to do that if the feature is no longer needed.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17890#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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/076.3fb690e16f85bf43782bb723e6e190e7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to