Hi,

manage.py shell is either going to use the regular python shell or IPython 
under the hood. You could try manage.py shell --plain to see using the 
regular shell works if you're getting IPython.

If nothing else it looks like you might be able to do ctrl+alt+j to switch 
to vi mode.

Collin

On Thursday, December 4, 2014 9:39:26 PM UTC-5, Michael Scheper wrote:
>
>  G'day peeps,
>
> I somehow missed the Django shell (python manage.py shell) until somebody 
> quite new to Django showed it to me. It's pretty and seems to have some 
> nice tricks, but the vi editing commands I expect aren't working when I run 
> it in my own environment.
>
> The normal Python interpreter uses readline 
> <https://docs.python.org/2/library/readline.html>, and thus respects 'set 
> editing-mode vi' (and other settings) in my ~/.inputrc file. Can I get 
> the Django shell to do the same, or do I just need to type django.setup() 
> in the normal interpreter?
>
> Thanks,
> Michael Scheper.
>  

-- 
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/aacaa5ec-bd9c-4808-b4b3-6dc8ff55d8ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to