mirror of
https://github.com/lemeow125/EquipmentTracker-Backend.git
synced 2024-11-16 21:59:25 +08:00
Created Custom User Models
This commit is contained in:
parent
c92d80c7fd
commit
b6d003c9df
15 changed files with 26 additions and 1 deletions
0
equipment_tracker/accounts/__init__.py
Normal file
0
equipment_tracker/accounts/__init__.py
Normal file
3
equipment_tracker/accounts/admin.py
Normal file
3
equipment_tracker/accounts/admin.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
6
equipment_tracker/accounts/apps.py
Normal file
6
equipment_tracker/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
equipment_tracker/accounts/migrations/__init__.py
Normal file
0
equipment_tracker/accounts/migrations/__init__.py
Normal file
3
equipment_tracker/accounts/models.py
Normal file
3
equipment_tracker/accounts/models.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
from django.db import models
|
||||
|
||||
# Create your models here.
|
3
equipment_tracker/accounts/tests.py
Normal file
3
equipment_tracker/accounts/tests.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
7
equipment_tracker/accounts/urls.py
Normal file
7
equipment_tracker/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
equipment_tracker/accounts/views.py
Normal file
3
equipment_tracker/accounts/views.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
BIN
equipment_tracker/api/__pycache__/__init__.cpython-311.pyc
Normal file
BIN
equipment_tracker/api/__pycache__/__init__.cpython-311.pyc
Normal file
Binary file not shown.
BIN
equipment_tracker/api/__pycache__/urls.cpython-311.pyc
Normal file
BIN
equipment_tracker/api/__pycache__/urls.cpython-311.pyc
Normal file
Binary file not shown.
BIN
equipment_tracker/config/__pycache__/__init__.cpython-311.pyc
Normal file
BIN
equipment_tracker/config/__pycache__/__init__.cpython-311.pyc
Normal file
Binary file not shown.
BIN
equipment_tracker/config/__pycache__/settings.cpython-311.pyc
Normal file
BIN
equipment_tracker/config/__pycache__/settings.cpython-311.pyc
Normal file
Binary file not shown.
BIN
equipment_tracker/config/__pycache__/urls.cpython-311.pyc
Normal file
BIN
equipment_tracker/config/__pycache__/urls.cpython-311.pyc
Normal file
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue