From d3c6eeaedc67a647eb6083990db9d996eab302eb Mon Sep 17 00:00:00 2001 From: jhyns Date: Mon, 1 May 2023 15:04:54 +0900 Subject: [PATCH] Add user app --- config/settings/base.py | 1 + user/__init__.py | 0 user/admin.py | 3 +++ user/apps.py | 6 ++++++ user/migrations/__init__.py | 0 user/models.py | 3 +++ user/tests.py | 3 +++ user/views.py | 3 +++ 8 files changed, 19 insertions(+) create mode 100644 user/__init__.py create mode 100644 user/admin.py create mode 100644 user/apps.py create mode 100644 user/migrations/__init__.py create mode 100644 user/models.py create mode 100644 user/tests.py create mode 100644 user/views.py diff --git a/config/settings/base.py b/config/settings/base.py index 043f0cb..323b100 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -42,6 +42,7 @@ THIRD_PARTY_APPS = [ LOCAL_APPS = [ "market.apps.MarketConfig", + "users.apps.UsersConfig", ] INSTALLED_APPS = DJANGO_APPS + THIRD_PARTY_APPS + LOCAL_APPS diff --git a/user/__init__.py b/user/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/user/admin.py b/user/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/user/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/user/apps.py b/user/apps.py new file mode 100644 index 0000000..578292c --- /dev/null +++ b/user/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class UserConfig(AppConfig): + default_auto_field = "django.db.models.BigAutoField" + name = "user" diff --git a/user/migrations/__init__.py b/user/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/user/models.py b/user/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/user/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/user/tests.py b/user/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/user/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/user/views.py b/user/views.py new file mode 100644 index 0000000..91ea44a --- /dev/null +++ b/user/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here.