From e65c78228def56b3a5d9973f988ed53e0dac0423 Mon Sep 17 00:00:00 2001 From: jhyns Date: Thu, 4 May 2023 11:06:04 +0900 Subject: [PATCH] Add graph app --- config/settings/base.py | 1 + graph/__init__.py | 0 graph/admin.py | 3 +++ graph/apps.py | 6 ++++++ graph/migrations/__init__.py | 0 graph/models.py | 3 +++ graph/tests.py | 3 +++ graph/views.py | 3 +++ 8 files changed, 19 insertions(+) create mode 100644 graph/__init__.py create mode 100644 graph/admin.py create mode 100644 graph/apps.py create mode 100644 graph/migrations/__init__.py create mode 100644 graph/models.py create mode 100644 graph/tests.py create mode 100644 graph/views.py diff --git a/config/settings/base.py b/config/settings/base.py index cad6fd7..a6a3d03 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -42,6 +42,7 @@ THIRD_PARTY_APPS = [ LOCAL_APPS = [ "core.apps.CoreConfig", + "graph.apps.GraphConfig", "market.apps.MarketConfig", "user.apps.UserConfig", ] diff --git a/graph/__init__.py b/graph/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/graph/admin.py b/graph/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/graph/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/graph/apps.py b/graph/apps.py new file mode 100644 index 0000000..b5934af --- /dev/null +++ b/graph/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class GraphConfig(AppConfig): + default_auto_field = "django.db.models.BigAutoField" + name = "graph" diff --git a/graph/migrations/__init__.py b/graph/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/graph/models.py b/graph/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/graph/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/graph/tests.py b/graph/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/graph/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/graph/views.py b/graph/views.py new file mode 100644 index 0000000..91ea44a --- /dev/null +++ b/graph/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here.