corrected import syntax
This commit is contained in:
parent
c42b1f2723
commit
3cad01a29c
@ -1,6 +1,6 @@
|
|||||||
# main/api_views.py
|
# main/api_views.py
|
||||||
from rest_framework import viewsets
|
from rest_framework import viewsets, status
|
||||||
from rest_framework import APIView
|
from rest_framework.views import APIView
|
||||||
from rest_framework.response import Response
|
from rest_framework.response import Response
|
||||||
from django.contrib.auth import authenticate, login, logout
|
from django.contrib.auth import authenticate, login, logout
|
||||||
from .models import Project, Task, RegisteredUser
|
from .models import Project, Task, RegisteredUser
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user