I'm not quite sure why this affects NAV; I'm not aware that we have employed any of this before, and we don't use the Django admin interface. Any suggestions to how we could solve this to work for Django versions 1.0 through 1.2?
Ugly solution could be something like
if float(django.get_version()[:3]) >= 1.2: MIDDLEWARE_CLASSES += ( 'django.middleware.csrf.CsrfResponseMiddleware', 'django.middleware.csrf.CsrfMiddleware', )
Not testet, but something like that should work, allthough the steps could just be added to the INSTALL-file as a note when using django >= 1.2
- K