Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#9711 closed (worksforme)

startproject urls.py out of date

Reported by: chaynes Owned by: nobody
Component: contrib.admin Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

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),

Change History (2)

comment:1 Changed 8 years ago by Russell Keith-Magee

Resolution: worksforme
Status: newclosed

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.

comment:2 Changed 8 years ago by (none)

milestone: post-1.0

Milestone post-1.0 deleted

Note: See TracTickets for help on using tickets.
Back to Top