Set up backend app with initial structure and registered it in settings

This commit is contained in:
2026-01-04 22:43:38 +01:00
parent 769f18dac8
commit 18181113a9
8 changed files with 18 additions and 0 deletions

View File

@@ -48,6 +48,7 @@ INSTALLED_APPS = [
"rules.apps.AutodiscoverRulesConfig", "rules.apps.AutodiscoverRulesConfig",
"theme.apps.ThemeConfig", # Tailwind theme app "theme.apps.ThemeConfig", # Tailwind theme app
"members.apps.MembersConfig", "members.apps.MembersConfig",
"backend.apps.BackendConfig",
] ]
MIDDLEWARE = [ MIDDLEWARE = [

0
backend/__init__.py Normal file
View File

3
backend/admin.py Normal file
View File

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

5
backend/apps.py Normal file
View File

@@ -0,0 +1,5 @@
from django.apps import AppConfig
class BackendConfig(AppConfig):
name = "backend"

View File

3
backend/models.py Normal file
View File

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

3
backend/tests.py Normal file
View File

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

3
backend/views.py Normal file
View File

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