On Tue, Sep 23, 2008 at 8:31 AM, <[EMAIL PROTECTED]> wrote: > > Using the gs and Django container on MediaTemple, got my project > installed, it works when I don't have the admin info in the URLS.py, > when I add all of the info in the URLS.py and go to the site I get > this error: > > AttributeError at / > 'module' object has no attribute 'autodiscover' > > Here's my URLS > > http://dpaste.com/79956/ >
It would appear your MediaTemple grid container is configured to use a pre-1.0 version of Django. From their FAQ ( http://mediatemple.net/webhosting/gs/faq.htm#103): "Your Django Container uses Python version 2.4.4. You can easily choose between bleeding-edge nightly versions or stable releases of the Django framework. You can also switch to a specific Django release at any time." what level of Django you are running is apparently somehow configurable by you. The error you are getting indicates you are running a level that is from before newforms-admin was merged to trunk, so probably a 0.96 level. If you want to use 1.0 level constructs like admin.autodiscover(), you'll need to switch to a 1.0 level in your setup. How to do that, exactly, requires more knowledge of MediaTemple grid containers than I have. Karen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---