troggle-unchained/templates/csrffaker.py
2011-05-02 03:11:17 +01:00

10 lines
215 B
Python

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