From 7bd06cf1050747a32f75c7a90cbc4c5717372926 Mon Sep 17 00:00:00 2001 From: Hironsan Date: Tue, 11 Jan 2022 10:30:17 +0900 Subject: [PATCH] Create roles app --- backend/roles/__init__.py | 0 backend/roles/admin.py | 3 +++ backend/roles/apps.py | 6 ++++++ backend/roles/exceptions.py | 0 backend/roles/migrations/__init__.py | 0 backend/roles/models.py | 3 +++ backend/roles/serializers.py | 0 backend/roles/tests.py | 3 +++ backend/roles/urls.py | 0 backend/roles/views.py | 3 +++ 10 files changed, 18 insertions(+) create mode 100644 backend/roles/__init__.py create mode 100644 backend/roles/admin.py create mode 100644 backend/roles/apps.py create mode 100644 backend/roles/exceptions.py create mode 100644 backend/roles/migrations/__init__.py create mode 100644 backend/roles/models.py create mode 100644 backend/roles/serializers.py create mode 100644 backend/roles/tests.py create mode 100644 backend/roles/urls.py create mode 100644 backend/roles/views.py diff --git a/backend/roles/__init__.py b/backend/roles/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/backend/roles/admin.py b/backend/roles/admin.py new file mode 100644 index 00000000..8c38f3f3 --- /dev/null +++ b/backend/roles/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/backend/roles/apps.py b/backend/roles/apps.py new file mode 100644 index 00000000..9f64c395 --- /dev/null +++ b/backend/roles/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class RolesConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'roles' diff --git a/backend/roles/exceptions.py b/backend/roles/exceptions.py new file mode 100644 index 00000000..e69de29b diff --git a/backend/roles/migrations/__init__.py b/backend/roles/migrations/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/backend/roles/models.py b/backend/roles/models.py new file mode 100644 index 00000000..71a83623 --- /dev/null +++ b/backend/roles/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/backend/roles/serializers.py b/backend/roles/serializers.py new file mode 100644 index 00000000..e69de29b diff --git a/backend/roles/tests.py b/backend/roles/tests.py new file mode 100644 index 00000000..7ce503c2 --- /dev/null +++ b/backend/roles/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/backend/roles/urls.py b/backend/roles/urls.py new file mode 100644 index 00000000..e69de29b diff --git a/backend/roles/views.py b/backend/roles/views.py new file mode 100644 index 00000000..91ea44a2 --- /dev/null +++ b/backend/roles/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here.