Indeed.   That works.

On Tuesday, September 15, 2015 at 2:49:06 PM UTC-4, Carl Meyer wrote:
>
> 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+unsubscr...@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/04c003a5-3ff5-4c58-aa41-70c322d286dc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to