Opened 10 years ago

Closed 10 years ago

#8009 closed (worksforme)

startproject creates with old admin links

Reported by: maxclark Owned by: nobody
Component: Core (Management commands) 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:


7967 merged newforms-admin into trunk, but the startproject command from django-admin creates the with the old urlpattern which does not work.

Change History (1)

comment:1 Changed 10 years ago by Karen Tracey

Resolution: worksforme
Status: newclosed

Are you sure you aren't picking up an old command in your path? I just tried this and the generated file was:

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'^Playground2/', include('')),

    # Uncomment the next line to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line for to enable the admin:
    # (r'^admin/(.*)',,

which is definitely newforms-admin style, not the old one.

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