If you have a date time field within the admin, and you invoke the "Today" link it seems it throws an exception from calendar.js
where it references an undefined global method get_format
. This doesn't seem to be defined in any of the latest admin js files.
Edit:
It seems like it was using a different i18n.py
file from my standard django 1.1 on the system. Here's my wsgi file:
import os, sys, site
site.addsitedir( '/srv/python-environments/django1point2/lib/python2.5/site-packages')
sys.path.append('/srv/')
sys.path.append('/srv/workarounds')
os.environ['DJANGO_SETTINGS_MODULE'] = 'workarounds.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
What do I need to alter so it relies on the i18n.py
in the addsitedir string I specify instead of my system default?