#8572: Improve flexibility of admin.autodiscover for custom admin sites
-----------------------------+----------------------------------------------
 Reporter:  msaelices        |       Owner:  msaelices 
   Status:  new              |   Milestone:            
Component:  Admin interface  |     Version:  SVN       
 Keywords:                   |       Stage:  Unreviewed
Has_patch:  1                |  
-----------------------------+----------------------------------------------
 {{{admin.autodiscover}}} is great, but you cannot customize admin sites.
 It would be wonderful that you can call autodiscover with a optional
 {{{site}}} parameter, like this:

 {{{
 #!python

 # urls.py

 from django.contrib import admin

 from yourproject.admin import custom_admin_site

 admin.autodiscover(site=custom_admin_site)

 urlpatterns = patterns('',
     ...
     ('^admin/(.*)', custom_admin_site.root),
 }}}

 I will attach a patch that implement that feature, without backwards
 incompatibility

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8572>
Django Code <http://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to