-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iQIcBAEBCAAGBQJV+Gf0AAoJEC0ft5FqUuEho/4P/jtGIdAdvwPBLtk6vz+T3AXJ
ucJu6QHNLvljMpvKfy1u+1sXlqiBjaapEACWZRmUYYy1NCLZ/saXrz8UVqYkgzyr
xk8DAIkcOse2GfQP50DbWPVCR0baPjEAaAkNrgT0dIF8Jyo19Qcr5oozm4RSVHkD
DcUm+HqCn3JfDLr8zzrSd/G2gMFuR4PR9BoTxdvvat1n0pVfDzh8V/Sqw+60Qwmn
omZF4ZNPqH7B/zTCKs2l3v0cZEnnezIXc9IQ76k4hIEiseFQiuizlwI1VsaTGHAb
g/qtcJqMcZmaMWrNgDwkvEcJfufMSYN9OSaVVgXGqV7w/g/tnwlovh+0jmYn5XHj
5KLHbPiz9Ilm/9t4WfjxP6NwtuammSS1suXgghlF4+h4e+Mw77DPi/Py23tyk6oK
IHTF/4quyMxCZiJ3SrAQ/c8pDMtZmxFDrFjIMHcY4135atdWd+peYMgGUmjt9wyn
oJAMOA2wu1NhMuheHwMDnWnMTHrFPVnhOxqc4qC5Ajw37lAoGJq+6XJOXY1238X7
TFOROl6TKu00qrDQRzHhsC780FT472MbAEfT4NLduxx4X7Q1BKvS+0GSHReiLnr8
UaDLhiACa1Ihkx2ChM1Gn5EoXPM/+1AvVq9aAzG+EYUCyMuQOHg+uAABDi7FNCid
qL7Ach5AQos1srx2Sjjt
=ZTpR
-----END PGP SIGNATURE-----
On 09/15/2015 12:44 PM, Dan Davis wrote:
> I'm wondering how I would get python to run an interactive shell similar
> to what I'd get from running ./manage.py shell.
Why not just run `./manage.py shell`?
In general, `DJANGO_SETTINGS_MODULE=myproject.settings python` is
effectively equivalent to `./manage.py shell` (except for the latter
will use IPython by default if installed).
Carl
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/55F867F0.7070005%40oddbird.net.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment