Opened 14 years ago
Closed 14 years ago
#14539 closed (invalid)
Documents maybe out-of-date
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Uncategorized | Version: | 1.2 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I am using Django1.2.3 now. After coding according to the doc, I can't start my admin app.When i visit http://127.0.0.1:8000/admin/,An exception page appeared saying "No module named urls ",in my urls.py,it looks like:
from django.conf.urls.defaults import *
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns(,
# Example:
# (r'mysite/', include('mysite.foo.urls')),
# Uncomment the admin/doc line below and add 'django.contrib.admindocs'
# to INSTALLED_APPS to enable admin documentation:
# (r'admin/doc/', include('django.contrib.admindocs.urls')),
# Uncomment the next line to enable the admin:
(r'admin/', include(admin.site.urls)),
)
pls, help me out of this
This Trac site is for reporting definite problems with Django (or feature requests). If you have a problem getting started with Django, the place to get help is the django-users mailing list or the IRC channel, as it says at the top of the "New Ticket" page.
Thanks!