I'm a Django newbie, as the subject suggests, and couldn't find this problem addressed in this group's archives.
I've done the following, as per the web tutorial: • Add "django.contrib.admin" to INSTALLED_APPS setting. • Run python manage.py syncdb. • Edit mysite/urls.py file and uncomment the lines below the “Uncomment the next two lines...” comment. But after I start the development server and try to load the admin page in my browser, I get 500 page. Here is the Traceback: Environment: Request Method: GET Request URL: http://127.0.0.1:8000/admin/ Django Version: 1.0.2 final Python Version: 2.5.1 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'mysite.books', 'django.contrib.admin'] Installed Middleware: () Traceback: File "/Library/Python/2.5/site-packages/django/core/handlers/base.py" in get_response 77. request.path_info) File "/Library/Python/2.5/site-packages/django/core/urlresolvers.py" in resolve 181. sub_match = pattern.resolve(new_path) File "/Library/Python/2.5/site-packages/django/core/urlresolvers.py" in resolve 179. for pattern in self.urlconf_module.urlpatterns: File "/Library/Python/2.5/site-packages/django/core/urlresolvers.py" in _get_urlconf_module 198. self._urlconf_module = __import__ (self.urlconf_name, {}, {}, ['']) Exception Type: ImportError at /admin/ Exception Value: No module named admin.site.urls Why can't it find the admin module, even though I've activated it in mysite/settings.py? --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---