equal
deleted
inserted
replaced
|
1 # -*- coding: utf-8 -*- |
1 from rest_framework.authentication import SessionAuthentication |
2 from rest_framework.authentication import SessionAuthentication |
2 |
3 |
3 class CsrfExemptSessionAuthentication(SessionAuthentication): |
4 class CsrfExemptSessionAuthentication(SessionAuthentication): |
4 """ |
5 """ |
5 Session authentication class to use with Renkan client, as it does not provide a csrf token |
6 Session authentication class to use with Renkan client, as it does not provide a csrf token |