We would want to request revisit of this ticket:

   http://code.djangoproject.com/ticket/8572

In medium or large Django projects you usually wants to customize
Django admin site. It is usual to have an own AdminSite with
improvements, changes, extra urls, etc.

The problem is when you do that decision, all wonderful Django admin
autodiscover has no effect in this custom site. In fact, when you
calls to admin.autodiscover(), the registration proccess is performed,
but in default admin site, that is no used.

Ticket #8572 is a backwards compatible change that let you to do
something like this:

   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),

This ticket was marked by duplicate of #8500, but I think #8572
approach is better (better explicit than implicit). Ticket number is
not important, but I think that functionality is easy to implement
(with several strategies) and has no colateral effects, being
backwards compatible.

¿any opinions?

Regards,
Manuel Saelices
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to