2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-01-31 23:42:31 +00:00
troggle/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 ""