Add user app

This commit is contained in:
jhyns 2023-05-01 15:04:54 +09:00
parent e6a4ee495b
commit d3c6eeaedc
8 changed files with 19 additions and 0 deletions

View File

@ -42,6 +42,7 @@ THIRD_PARTY_APPS = [
LOCAL_APPS = [ LOCAL_APPS = [
"market.apps.MarketConfig", "market.apps.MarketConfig",
"users.apps.UsersConfig",
] ]
INSTALLED_APPS = DJANGO_APPS + THIRD_PARTY_APPS + LOCAL_APPS INSTALLED_APPS = DJANGO_APPS + THIRD_PARTY_APPS + LOCAL_APPS

0
user/__init__.py Normal file
View File

3
user/admin.py Normal file
View File

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

6
user/apps.py Normal file
View File

@ -0,0 +1,6 @@
from django.apps import AppConfig
class UserConfig(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
name = "user"

View File

3
user/models.py Normal file
View File

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

3
user/tests.py Normal file
View File

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

3
user/views.py Normal file
View File

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