diff -r 95536fa18d0d -r 0ae11aa255a3 server/python/django2/renkanmanager/auth.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/server/python/django2/renkanmanager/auth.py Tue Feb 02 16:21:20 2016 +0100 @@ -0,0 +1,10 @@ +from rest_framework.authentication import SessionAuthentication + +class CsrfExemptSessionAuthentication(SessionAuthentication): + """ + Session authentication class to use with Renkan client, as it does not provide a csrf token + """ + + + def enforce_csrf(self, request): + return \ No newline at end of file