#9711: startproject urls.py out of date
----------------------------------+-----------------------------------------
 Reporter:  chaynes               |       Owner:  nobody    
   Status:  new                   |   Milestone:  post-1.0  
Component:  django.contrib.admin  |     Version:  SVN       
 Keywords:                        |       Stage:  Unreviewed
Has_patch:  0                     |  
----------------------------------+-----------------------------------------
 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),
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9711>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to