added settings app
All checks were successful
Django Backend Validation / build (debian-latest, 3.11) (push) Successful in 15s
Django Backend Validation / build (debian-latest, 3.12) (push) Successful in 14s
Django Backend Validation / build (ubuntu-latest, 3.10) (push) Successful in 13s
Django Backend Validation / build (ubuntu-latest, 3.11) (push) Successful in 14s
Django Backend Validation / build (ubuntu-latest, 3.12) (push) Successful in 15s
Django Backend Validation / build (debian-latest, 3.10) (push) Successful in 13s

Signed-off-by: Jochen Mehlich <coding@jochenmehlich.de>
This commit is contained in:
Jochen Mehlich 2024-08-28 15:19:06 +02:00
parent 04d6cd0351
commit 17e61ca66f
10 changed files with 30 additions and 0 deletions

0
settings/__init__.py Normal file
View File

3
settings/admin.py Normal file
View File

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

6
settings/apps.py Normal file
View File

@ -0,0 +1,6 @@
from django.apps import AppConfig
class SettingsConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'settings'

View File

3
settings/models.py Normal file
View File

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

3
settings/tests.py Normal file
View File

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

6
settings/urls.py Normal file
View File

@ -0,0 +1,6 @@
from django.urls import path
from . import views
urlpatterns = [
path('', views.home, name="home"),
]

7
settings/views.py Normal file
View File

@ -0,0 +1,7 @@
from django.http import HttpResponse
from django.shortcuts import render
# Create your views here.
def home(request):
return HttpResponse('')

View File

@ -40,6 +40,7 @@ INSTALLED_APPS = [
'tailwind',
'theme',
'django_browser_reload',
'settings',
]
MIDDLEWARE = [

View File

@ -22,4 +22,5 @@ urlpatterns = [
path('admin/', admin.site.urls),
path("__reload__/", include("django_browser_reload.urls")),
path("login", login, name="login"),
path("settings/", include('settings.urls'))
]