#14675: Update docs and project template to avoid "import *" for url patterns
-------------------------------------+--------------------------------------
          Reporter:  robhudson       |         Owner:  nobody
            Status:  new             |     Milestone:  1.3   
         Component:  Core framework  |       Version:  1.2   
        Resolution:                  |      Keywords:        
             Stage:  Accepted        |     Has_patch:  1     
        Needs_docs:  0               |   Needs_tests:  0     
Needs_better_patch:  1               |  
-------------------------------------+--------------------------------------
Comment (by cdestigter):

 It struck me that we're making things awfully verbose by getting rid of
 the 'import *'...

 So to compensate, I removed the '.defaults', which has always bugged me.

 It's just easier to remember than 'from django.conf.urls.defaults import
 patterns'. The 'defaults' should be implied.

 This shouldn't break anything, the code is still in defaults.py.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/14675#comment:7>
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-upda...@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