Opened 19 years ago
Closed 19 years ago
#3386 closed (duplicate)
add PYTHONSTARTUP capability to manage.py shell
| Reported by: | Owned by: | Adrian Holovaty | |
|---|---|---|---|
| Component: | Core (Other) | Version: | dev |
| Severity: | Keywords: | PYTHONSTARTUP | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Responding to this thread on Django Users: http://tinyurl.com/2rferr
This patch adds PYTHONSTARTUP capability to manage.py shell when:
- PYTHONSTARTUP is defined in the environment
- .pystartup is present in the user's home directory
Use of the --plain option disables execution of PYTHONSTARTUP.
Attachments (1)
Change History (3)
by , 19 years ago
| Attachment: | pythonrc.diff added |
|---|
comment:2 by , 19 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
duplicate of #3381.
Your patch looks a bit different, though. If your patch is a improvement to the other one, can you please share your ideas in the other ticket?
Note:
See TracTickets
for help on using tickets.