Browse Source

Add boilerplate for labels app

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

0
backend/labels/__init__.py

3
backend/labels/admin.py

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

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

0
backend/labels/migrations/__init__.py

3
backend/labels/models.py

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

0
backend/labels/permissions.py

0
backend/labels/serializers.py

3
backend/labels/tests.py

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

0
backend/labels/urls.py

3
backend/labels/views.py

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