#9711 closed (worksforme)
startproject urls.py out of date
Reported by: | chaynes | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
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
Django version 1.1 pre-alpha SVN-9532
django-admin.py startproject creates a urls.py with the old line
(r'^admin/', include('django.contrib.admin.urls')),
instead of the newly required:
from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', (r'^admin/(.*)', admin.site.root),
Note:
See TracTickets
for help on using tickets.
No, it doesn't. The project urls.py template hasn't changed since [8859]. Somewhere on your system is an old (pre v1.0) Django install that is overriding the [9532] checkout you think you are using.