tickets: 8572
This data as json
id | created | changetime | last_pulled_from_trac | stage | status | component | type | severity | version | resolution | summary | description | owner | reporter | keywords | easy | has_patch | needs_better_patch | needs_tests | needs_docs | ui_ux |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8572 | 2008-08-26 21:04:18 | 2008-08-26 22:39:45 | 2022-03-06 03:42:36.604616 | Unreviewed | closed | contrib.admin | dev | duplicate | Improve flexibility of admin.autodiscover for custom admin sites | {{{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 | msaelices | msaelices | 0 | 1 | 0 | 0 | 0 | 0 |