#5936: django-admin's shell command doesn't respect PYTHONSTARTUP or .pythonrc
settings
--------------------------+-------------------------------------------------
   Reporter:  toddobryan  |                Owner:  nobody        
     Status:  new         |            Component:  Core framework
    Version:  SVN         |           Resolution:                
   Keywords:              |                Stage:  Unreviewed    
  Has_patch:  1           |           Needs_docs:  0             
Needs_tests:  0           |   Needs_better_patch:  0             
--------------------------+-------------------------------------------------
Changes (by toddobryan):

  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 See the discussion at:

 http://groups.google.com/group/django-
 developers/browse_thread/thread/8abc0b31323edfc4#

 It turns out that, at least on Ubuntu, ``/etc/profile`` gets ignored, so
 that's why PYTHONSTARTUP didn't get used even when I didn't specify
 --plain. I still think it's the case that, even if --plain is used, the
 command should still try to load PYTHONSTARTUP and .pythonrc because
 that's what "plain" old ``python`` would do.

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