Hi, I think there is a simple answer to this, but I was unable to find it. While following along in the django book, i did the steps necessary to activate the admin page, including uncommenting the admin url in urls.py. But when I go to http://127.0.0.1:8000/admin/, I get the following error:
NameError at /admin/ name 'django' is not defined Here is my urls.py file: from django.conf.urls.defaults import * from mysite.views import current_datetime from mysite.views import hours_ahead urlpatterns = patterns('', (r'^time/$', current_datetime), (r'^time/plus/(\d{1,2})/$', hours_ahead), # Example: # (r'^mysite/', include('mysite.foo.urls')), # Uncomment this for admin: (r'^admin/', include('django.contrib.admin.urls')), ) Any help would be greatly appreciated!! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---