Opened 5 years ago

Last modified 5 years ago

#31465 closed Uncategorized

"python3 manage.py shell" using IPython instead of Python. — at Initial Version

Reported by: J Arun Mani Owned by: nobody
Component: Utilities Version: 3.0
Severity: Normal Keywords:
Cc: j.arunmani@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Hello, I was learning Django from the official docs.
To run the command python3 manage.py shell, I thought of using IPython, so I ran this command ipython3 manage.py shell. First the command gave me a list of available commands (for manage.py), then it gave me the IPython prompt. Me, confused, ran the same command with python3, but I still got IPython. I closed the shell and launched it again, I went back to home directory and checked if IPython and Python are working fine, yes they were, they were working with the right way.

So I cded the tutorial's directory and ran python3 manage.py shell but again got IPython shell. I think Django has modified some environment flags or something else. I thought of posting this to mailing-list, as I'm a noob and this could be a "feature"; but I got an error that there is googlegroups cannot find "django-users" account. I have attached a link to the screenshot for sake of convenience.

My System:
Django installed using : pip (only for user, non-sudo)
OS : Debian 10
Python version : 3.7.3
Terminal : GNOME Terminal
Shell : fish
https://www.dropbox.com/s/df8gbju2pllmtow/django-bug.png

Change History (0)

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