Opened 14 years ago
Closed 14 years ago
#15386 closed (duplicate)
Fix PYTHONSTARTUP support in manage.py shell
Description ¶
The attached patch will allow to have project specific start-up scripts that,
for example, import all models for easy access.
PYTHONSTARTUP=/path/to/startup.py manage.py shell
Change History (2)
by , 14 years ago
Attachment: | fix-PYTHONSTARTUP-support-in-manage.py-shell.diff added |
---|
comment:1 by , 14 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
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: https://github.com/django-extensions/django-extensions/blob/master/django_extensions/management/commands/shell_plus.py
Note:
See TracTickets
for help on using tickets.
Fix PYTHONSTARTUP support in manage.py shell