2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-01-20 01:42:30 +00:00

Try to fake crsf tags so site works on djang0 1.1

This commit is contained in:
Martin Green 2011-05-02 03:20:31 +01:00
parent af34cdb498
commit 326af86b84

View File

@ -0,0 +1,10 @@
import django
from django import template
register = template.Library()
if django.VERSION[0] >=1 and django.VERSION[1] > 1:
pass
else:
@register.tag
def csrf_token(parser, token): return ""