#31465: "python3 manage.py shell" using IPython instead of Python.
-------------------------------+---------------------------------------
Reporter: J Arun Mani | Owner: J Arun Mani
Type: Uncategorized | Status: closed
Component: Utilities | Version: 3.0
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+---------------------------------------
Description changed by J Arun Mani:
Old 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
> [[Image(https://www.dropbox.com/s/df8gbju2pllmtow/django-bug.png?dl=0)]]
New 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.
The issue is why am I getting IPython when I run the command for normal
Python interpreter?
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
[[Image(https://www.dropbox.com/s/df8gbju2pllmtow/django-bug.png?dl=0)]]
--
--
Ticket URL: <https://code.djangoproject.com/ticket/31465#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/069.7c07b353c8629cdefb4c8f29a93dfe37%40djangoproject.com.