Browse Source

Create roles app

pull/1627/head
Hironsan 2 years ago
parent
commit
7bd06cf105
10 changed files with 18 additions and 0 deletions
  1. 0
      backend/roles/__init__.py
  2. 3
      backend/roles/admin.py
  3. 6
      backend/roles/apps.py
  4. 0
      backend/roles/exceptions.py
  5. 0
      backend/roles/migrations/__init__.py
  6. 3
      backend/roles/models.py
  7. 0
      backend/roles/serializers.py
  8. 3
      backend/roles/tests.py
  9. 0
      backend/roles/urls.py
  10. 3
      backend/roles/views.py

0
backend/roles/__init__.py

3
backend/roles/admin.py

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

6
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'

0
backend/roles/exceptions.py

0
backend/roles/migrations/__init__.py

3
backend/roles/models.py

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

0
backend/roles/serializers.py

3
backend/roles/tests.py

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

0
backend/roles/urls.py

3
backend/roles/views.py

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