#5588: wildcard import in urls.py is actually required
---------------------------------------+------------------------------------
Reporter:  [EMAIL PROTECTED]  |       Owner:  nobody       
  Status:  new                         |   Component:  Documentation
 Version:  SVN                         |    Keywords:  urls.py, docs
   Stage:  Unreviewed                  |   Has_patch:  0            
---------------------------------------+------------------------------------
 I just learned the hard way that messing with

 {{{
 from django.conf.urls.defaults import *
 }}}


 in your urls.py can bring about all kinds of weired behaviour. You lose
 the ability to debug and no errorpages (404, 500 etc) are shown

 I made the mistake to change the import to a more explicit one in my
 urls.py

 {{{
 from django.conf.urls.defaults import patterns, include
 }}}

 since it was only those two that I needed. big mistake!

 it should be noted in the docs somewhere that wildcard import from
 urls.default is actually required for things to work.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5588>
Django Code <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