#20109: django-admin.py does not correctly set DJANGO_SETTINGS_MODULE (patch
attached)
-------------------------------------+-------------------------------------
     Reporter:  jamercee             |                    Owner:  nobody
         Type:  New feature          |                   Status:  closed
    Component:  Core (Management     |                  Version:  1.5
  commands)                          |               Resolution:
     Severity:  Normal               |  worksforme
     Keywords:  djang-admin.py,      |             Triage Stage:
  manage.py,                         |  Unreviewed
  "DJANGO_SETTINGS_MODULE"           |      Needs documentation:  0
    Has patch:  1                    |  Patch needs improvement:  0
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------

Comment (by carljm):

 You shouldn't need the parent directory on `sys.path` and you'll be better
 off fixing your project layout to not require that; having two nested
 directories both on `sys.path` results in problems like modules that can
 be imported under two different names (and thus might be executed twice).
 It might be helpful to review
 https://docs.djangoproject.com/en/dev/releases/1.4/#updated-default-
 project-layout-and-manage-py

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20109#comment:3>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to