Added djoser

This commit is contained in:
Keannu Christian Bernasol 2023-02-25 17:57:38 +08:00
parent d1645a6db7
commit 4ad3bedb18
12 changed files with 28 additions and 3 deletions

View file

View file

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

6
project/accounts/apps.py Normal file
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.

5
project/accounts/urls.py Normal file
View file

@ -0,0 +1,5 @@
from django.urls import path, include
urlpatterns = [
path('accounts/', include('djoser.urls')),
]

View file

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