Code

Opened 4 years ago

Closed 4 years ago

#14539 closed (invalid)

Documents maybe out-of-date

Reported by: cbswy_7@… 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: UI/UX:

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

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by lukeplant

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

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!

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.