From d52bbda75ef48789510fcf47d06ec4fe1679074f Mon Sep 17 00:00:00 2001 From: Hironsan Date: Thu, 27 Jan 2022 08:36:05 +0900 Subject: [PATCH] Add boilerplate for labels app --- backend/labels/__init__.py | 0 backend/labels/admin.py | 3 +++ backend/labels/apps.py | 6 ++++++ backend/labels/migrations/__init__.py | 0 backend/labels/models.py | 3 +++ backend/labels/permissions.py | 0 backend/labels/serializers.py | 0 backend/labels/tests.py | 3 +++ backend/labels/urls.py | 0 backend/labels/views.py | 3 +++ 10 files changed, 18 insertions(+) create mode 100644 backend/labels/__init__.py create mode 100644 backend/labels/admin.py create mode 100644 backend/labels/apps.py create mode 100644 backend/labels/migrations/__init__.py create mode 100644 backend/labels/models.py create mode 100644 backend/labels/permissions.py create mode 100644 backend/labels/serializers.py create mode 100644 backend/labels/tests.py create mode 100644 backend/labels/urls.py create mode 100644 backend/labels/views.py diff --git a/backend/labels/__init__.py b/backend/labels/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/backend/labels/admin.py b/backend/labels/admin.py new file mode 100644 index 00000000..8c38f3f3 --- /dev/null +++ b/backend/labels/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/backend/labels/apps.py b/backend/labels/apps.py new file mode 100644 index 00000000..434a5c6d --- /dev/null +++ b/backend/labels/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class LabelsConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'labels' diff --git a/backend/labels/migrations/__init__.py b/backend/labels/migrations/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/backend/labels/models.py b/backend/labels/models.py new file mode 100644 index 00000000..71a83623 --- /dev/null +++ b/backend/labels/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/backend/labels/permissions.py b/backend/labels/permissions.py new file mode 100644 index 00000000..e69de29b diff --git a/backend/labels/serializers.py b/backend/labels/serializers.py new file mode 100644 index 00000000..e69de29b diff --git a/backend/labels/tests.py b/backend/labels/tests.py new file mode 100644 index 00000000..7ce503c2 --- /dev/null +++ b/backend/labels/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/backend/labels/urls.py b/backend/labels/urls.py new file mode 100644 index 00000000..e69de29b diff --git a/backend/labels/views.py b/backend/labels/views.py new file mode 100644 index 00000000..91ea44a2 --- /dev/null +++ b/backend/labels/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here.