Problems creating a new locale

2009-09-21 Thread Michael Scheper
G'day everyone, What I want to do: To keep my American users happy, I want to localise my site for en-us locale users. That way, they'll see all the dropped 'u's and past participles and other things that don't exist in 'U.S. English' (and that U.S. date format and all the other spelling variatio

en vs. en_US (was 'Problems creating a new locale')

2009-09-26 Thread Michael Scheper
est.META.HTTP_ACCEPT_LANGUAGE if request.LANGUAGE_CODE is 'en', and chooses the right locale, regardless of whether Django supports it yet. Cheers, MS. On Sep 21, 1:43 pm, Michael Scheper wrote: > G'day everyone, > > What I want to do: To keep my American users happy, I

django shell not respecting vi editing-mode in .inputrc

2014-12-04 Thread Michael Scheper
hon 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? T