Revision 81e19e70

b/snf-django-lib/snf_django/lib/api/__init__.py
41 41
from django.utils import cache
42 42
from django.utils import simplejson as json
43 43
from django.template.loader import render_to_string
44
from django.views.decorators import csrf
44 45

  
45 46
from astakosclient import AstakosClient
46 47
from astakosclient.errors import AstakosClientException
......
118 119
                logger.exception("Unexpected ERROR")
119 120
                fault = faults.InternalServerError("Unexpected error")
120 121
                return render_fault(request, fault)
121
        return wrapper
122
        return csrf.csrf_exempt(wrapper)
122 123
    return decorator
123 124

  
124 125

  

Also available in: Unified diff