Commit c0a75d48 by Anthony Lenton

Added an explanatory note in settings.py

parent a40b0a0d
...@@ -86,6 +86,9 @@ TEMPLATE_LOADERS = ( ...@@ -86,6 +86,9 @@ TEMPLATE_LOADERS = (
# 'django.template.loaders.eggs.load_template_source', # 'django.template.loaders.eggs.load_template_source',
) )
# django-openid-auth will *not* work with Django 1.1.1 or older, as it's
# missing the csrf_token template tag. It will work with Lucid's django
# though, as that has a bunch of backported features from 1.1.2.
import django import django
if float(django.get_version()[:3]) < 1.2: if float(django.get_version()[:3]) < 1.2:
csrf_middleware = 'django.contrib.csrf.middleware.CsrfViewMiddleware' csrf_middleware = 'django.contrib.csrf.middleware.CsrfViewMiddleware'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment