mirror of
https://github.com/lemeow125/DRF_Template.git
synced 2025-08-03 01:33:15 +08:00
Initial commit
This commit is contained in:
commit
0ad426398a
25 changed files with 2648 additions and 0 deletions
5
backend/accounts/views.py
Normal file
5
backend/accounts/views.py
Normal file
|
@ -0,0 +1,5 @@
|
|||
from rest_framework.permissions import IsAuthenticated
|
||||
from rest_framework import generics
|
||||
from accounts.serializers import CustomUserSerializer
|
||||
from rest_framework.response import Response
|
||||
from accounts.models import CustomUser
|
Loading…
Add table
Add a link
Reference in a new issue