mirror of
https://github.com/lemeow125/InfoTech-Backend.git
synced 2025-05-16 11:28:14 +08:00
Added user account functionality
This commit is contained in:
parent
7a7c922963
commit
21cb6eb850
14 changed files with 483 additions and 4 deletions
0
infotech/accounts/__init__.py
Normal file
0
infotech/accounts/__init__.py
Normal file
3
infotech/accounts/admin.py
Normal file
3
infotech/accounts/admin.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
6
infotech/accounts/apps.py
Normal file
6
infotech/accounts/apps.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class AccountsConfig(AppConfig):
|
||||
default_auto_field = 'django.db.models.BigAutoField'
|
||||
name = 'accounts'
|
0
infotech/accounts/migrations/__init__.py
Normal file
0
infotech/accounts/migrations/__init__.py
Normal file
3
infotech/accounts/models.py
Normal file
3
infotech/accounts/models.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
from django.db import models
|
||||
|
||||
# Create your models here.
|
3
infotech/accounts/tests.py
Normal file
3
infotech/accounts/tests.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
7
infotech/accounts/urls.py
Normal file
7
infotech/accounts/urls.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
from django.contrib import admin
|
||||
from django.urls import path, include
|
||||
|
||||
urlpatterns = [
|
||||
path('', include('djoser.urls')),
|
||||
path('', include('djoser.urls.authtoken'))
|
||||
]
|
3
infotech/accounts/views.py
Normal file
3
infotech/accounts/views.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
Loading…
Add table
Add a link
Reference in a new issue