|
|
|
@ -20,6 +20,10 @@ from django.core.exceptions import ObjectDoesNotExist |
|
|
|
from .permissions import IsClubOwner |
|
|
|
from .permissions import IsClubOwner |
|
|
|
from .utils import is_valid_email |
|
|
|
from .utils import is_valid_email |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from django.views.decorators.csrf import csrf_exempt |
|
|
|
|
|
|
|
from django.utils.decorators import method_decorator |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@method_decorator(csrf_exempt, name='dispatch') |
|
|
|
class CustomAuthToken(APIView): |
|
|
|
class CustomAuthToken(APIView): |
|
|
|
permission_classes = [] |
|
|
|
permission_classes = [] |
|
|
|
|
|
|
|
|
|
|
|
|