Added user account functionality

This commit is contained in:
Keannu Christian Bernasol 2023-03-21 21:04:26 +08:00
parent 7a7c922963
commit 21cb6eb850
14 changed files with 483 additions and 4 deletions

View file

View file

@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.

View file

@ -0,0 +1,6 @@
from django.apps import AppConfig
class AccountsConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'accounts'

View file

View file

@ -0,0 +1,3 @@
from django.db import models
# Create your models here.

View file

@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.

View 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'))
]

View file

@ -0,0 +1,3 @@
from django.shortcuts import render
# Create your views here.