#11918: Admin URLs troubles
-----------------------------+----------------------------------------------
 Reporter:  camilonova       |       Owner:  nobody    
   Status:  new              |   Milestone:            
Component:  django-admin.py  |     Version:  SVN       
 Keywords:                   |       Stage:  Unreviewed
Has_patch:  0                |  
-----------------------------+----------------------------------------------
 Hi now i have:
 Django version 1.2 pre-alpha

 SNV Trunk Revision: 11585

 When i start a new project:
 $ django-admin.py startproject foo

 by default creates the file urls.py in the folder foo, and this file has
 the line:
 (r'^admin/', include(admin.site.urls)),

 to get easy to uncomment for access to admin, this line works fine in
 DEBUG=True, but when DEBUG=False admin says it dont find any module pages,
 if i just change that line for:
 (r'^admin/(.*)', admin.site.root),

 works great in DEBUG=False and DEBUG=True, why dont you change the default
 generation of this line, or tell us what happen in this case.

 Cheers

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11918>
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 django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to