#11563: Models are not registered at the moment when AdminSite.get_urls() runs,
only at mod_wsgi environment
-----------------------------------+----------------------------------------
Reporter: daybreaker | Owner: nobody
Status: closed | Milestone: 1.1
Component: Contrib apps | Version: SVN
Resolution: invalid | Keywords: admin urls wsgi
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-----------------------------------+----------------------------------------
Changes (by Alex):
* status: new => closed
* resolution: => invalid
Comment:
Your problem is that you should be registering with the admin in your
admin.py file and then using admin.autodiscover() at the top of your
urls.py. In the future please ask user questions on either the django-
users mailing list or the #django IRC channel on freenode.
--
Ticket URL: <http://code.djangoproject.com/ticket/11563#comment:3>
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
-~----------~----~----~----~------~----~------~--~---