Opened 6 years ago

Closed 6 years ago

#15386 closed (duplicate)

Fix PYTHONSTARTUP support in shell

Reported by: DirkWallenstein Owned by: nobody
Component: Core (Management commands) Version: master
Severity: Keywords: management shell startup
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


The attached patch will allow to have project specific start-up scripts that,
for example, import all models for easy access.

PYTHONSTARTUP=/path/to/ shell

Attachments (1) (647 bytes) - added by DirkWallenstein 6 years ago.
Fix PYTHONSTARTUP support in shell

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by DirkWallenstein

Fix PYTHONSTARTUP support in shell

comment:1 Changed 6 years ago by Julien Phalip

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Resolution: duplicate
Status: newclosed

I'm going to close this as a dupe of #6682. I advise you to look into shell_plus which I think already caters for this:

Note: See TracTickets for help on using tickets.
Back to Top