Pandora Django on pandora


smilnovi

Member
Joined
Dec 31, 2008
Messages
68
Hi!


I have just started learning django, but since noone mentioned this - I had an problem running it, and it was related to the localization.


I haven't tried to find exactly why, but on pandora locale.getdefaultlocale() returns (None, None), and django doesn't like that, the first tutorial breaks right away. So, I have put


LC_ALL="en_US.UTF8"


export LC_ALL


into my /etc/profile and after that django works great. Of course, you can put any other (that is supported on pandora), and I hope someone will find this info usefull.


If there is a better, supported way to do this, it would be great to know too.
 
Back
Top