#9751: project_directory calculated incorrectly when "settings" is a directory
(breaks 'startapp')
----------------------------------------+-----------------------------------
          Reporter:  lamby              |         Owner:  gsong                 
  
            Status:  assigned           |     Milestone:  1.1                   
  
         Component:  django-admin.py    |       Version:  1.0                   
  
        Resolution:                     |      Keywords:  
startapp,settings,module
             Stage:  Ready for checkin  |     Has_patch:  1                     
  
        Needs_docs:  0                  |   Needs_tests:  0                     
  
Needs_better_patch:  0                  |  
----------------------------------------+-----------------------------------
Comment (by gsong):

 The reason for using `sys.modules` lookup instead of `import_module()` was
 to '''prevent''' the setting module from unnecessarily being imported
 again, since it would have to have been imported by this point.

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