APIView was not imported
This commit is contained in:
parent
fab154a652
commit
c42b1f2723
@ -1,5 +1,8 @@
|
|||||||
# main/api_views.py
|
# main/api_views.py
|
||||||
from rest_framework import viewsets
|
from rest_framework import viewsets
|
||||||
|
from rest_framework import APIView
|
||||||
|
from rest_framework.response import Response
|
||||||
|
from django.contrib.auth import authenticate, login, logout
|
||||||
from .models import Project, Task, RegisteredUser
|
from .models import Project, Task, RegisteredUser
|
||||||
from .serializers import ProjectSerializer, TaskSerializer, UserRegistrationSerializer
|
from .serializers import ProjectSerializer, TaskSerializer, UserRegistrationSerializer
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user