#11563: Models are not registered at the moment when AdminSite.get_urls() runs,
only at mod_wsgi environment
-----------------------------------+----------------------------------------
Reporter: daybreaker | Owner: nobody
Status: new | Milestone: 1.1
Component: Contrib apps | Version: SVN
Resolution: | Keywords: admin urls wsgi
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-----------------------------------+----------------------------------------
Comment (by daybreaker):
I think urls.py is also important:
{{{
from django.conf.urls.defaults import *
from django.contrib import admin
urlpatterns = patterns('',
# my custom urls...
# Uncomment the next line to enable the admin:
(ur'^admin/', include(admin.site.urls)),
)
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/11563#comment:2>
Django <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
-~----------~----~----~----~------~----~------~--~---