Opened 12 years ago
Closed 12 years ago
#18639 closed New feature (fixed)
manage.py shell should have a flag to explicitly request iPython or bpython
Reported by: | Alex Gaynor | Owned by: | nobody |
---|---|---|---|
Component: | Core (Management commands) | Version: | 1.4 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | yes |
Needs tests: | no | Patch needs improvement: | yes |
Easy pickings: | yes | UI/UX: | no |
Description
If you have both installed, sometimes you'll want one vs. another for various reasons. There should be a flag to explicitly request this.
Change History (4)
comment:1 by , 12 years ago
follow-up: 3 comment:2 by , 12 years ago
Needs documentation: | set |
---|---|
Patch needs improvement: | set |
Please don't use "--interp
" but "-i
" and "--interface
" (just provide them after each other). "Interpreter" is misleading as the switch doesn't switch the actual interpreter you're running the Python files with.
comment:3 by , 12 years ago
Replying to jezdez:
Please don't use "
--interp
" but "-i
" and "--interface
" (just provide them after each other). "Interpreter" is misleading as the switch doesn't switch the actual interpreter you're running the Python files with.
Sure, I will make that change today. I thought while --interp may be less correct technically most people refer to bpython and iPython as python interpreters(Even though they are both just interfaces to the interpreter) so it seemed like a nicer UI.
comment:4 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Added Pull request for this feature here: https://github.com/django/django/pull/215
Relevant documentation has been updated.