Re: Model Translate.

2014-09-24 Thread uvetter
Depends on the Django version and the Python version you are using. Did you have a look at this page? https://www.djangopackages.com/grids/g/model-translation/ I am currently using "Django-Modeltranslation", which is easy to use (Python 3.3 and Django 1.6). Best regards Am Mittwoch, 24. Sept

Re: How/where to call setlocale

2014-09-19 Thread uvetter
tedly outputs this: >> >> ('en_GB', 'UTF-8') >> %d/%m/%y >> 09/18/2014 >> >> I also tried adding the locale.setlocale(...) line to my settings.py >> instead but that had no effect either. >> >> Any ideas appreciated

Re: How/where to call setlocale

2014-09-16 Thread uvetter
Dear Jay, I just tried to following in my wsgi.py file: import os import sys import site import locale site.addsitedir('/mypath/lib/python3.3/site-packages') os.environ.setdefault("DJANGO_SETTINGS_MODULE", "test.settings") os.environ['HTTPS'] = "on" sys.path.append('/mypath/test') sys.path.a