Opened 18 years ago
Closed 18 years ago
#2251 closed defect (invalid)
wrong default admin url in the svn checkout
Reported by: | anonymous | Owned by: | Adrian Holovaty |
---|---|---|---|
Component: | Core (Other) | Version: | |
Severity: | normal | 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
The file comes as:
from django.conf.urls.defaults import *
urlpatterns = patterns(,
# Example:
# (r'hwo/', include('hwo.apps.foo.urls.foo')),
# Uncomment this for admin:
# (r'admin/', include('django.contrib.admin.urls.admin')),
)
The latter .admin' must be removed in order for it to work as so:
from django.conf.urls.defaults import *
urlpatterns = patterns(,
# Example:
# (r'hwo/', include('hwo.apps.foo.urls.foo')),
# Uncomment this for admin:
(r'admin/', include('django.contrib.admin.urls')),
)
Try updating your SVN checkout, because the default URLconf is correct.