Skip to content

Commit

Permalink
Fix: Remove unimplemented classes user views and imports
Browse files Browse the repository at this point in the history
  • Loading branch information
SverreNystad committed Jan 5, 2024
1 parent 43ed4d2 commit db66fff
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions backend/users/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,17 @@
from django.contrib.auth import authenticate

# Create your views here.
from django.contrib.auth.models import AnonymousUser
from rest_framework import generics
from rest_framework.decorators import api_view, permission_classes
from rest_framework.permissions import IsAuthenticated

from rest_framework.decorators import api_view
from rest_framework.response import Response
from rest_framework import status

from drf_yasg import openapi
from drf_yasg.utils import swagger_auto_schema
from rest_framework_simplejwt.tokens import RefreshToken
from django.contrib.auth.models import User

from users.models import InvalidToken
from .serializers import (
LoginSerializer,
LogoutSerializer,
RegisterSerializer,
)

Expand Down

0 comments on commit db66fff

Please sign in to comment.