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
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:
parent
04d6cd0351
commit
17e61ca66f
0
settings/__init__.py
Normal file
0
settings/__init__.py
Normal file
3
settings/admin.py
Normal file
3
settings/admin.py
Normal file
@ -0,0 +1,3 @@
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
6
settings/apps.py
Normal file
6
settings/apps.py
Normal file
@ -0,0 +1,6 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class SettingsConfig(AppConfig):
|
||||
default_auto_field = 'django.db.models.BigAutoField'
|
||||
name = 'settings'
|
||||
0
settings/migrations/__init__.py
Normal file
0
settings/migrations/__init__.py
Normal file
3
settings/models.py
Normal file
3
settings/models.py
Normal file
@ -0,0 +1,3 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
3
settings/tests.py
Normal file
3
settings/tests.py
Normal file
@ -0,0 +1,3 @@
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
6
settings/urls.py
Normal file
6
settings/urls.py
Normal 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
7
settings/views.py
Normal file
@ -0,0 +1,7 @@
|
||||
from django.http import HttpResponse
|
||||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
||||
|
||||
def home(request):
|
||||
return HttpResponse('')
|
||||
@ -40,6 +40,7 @@ INSTALLED_APPS = [
|
||||
'tailwind',
|
||||
'theme',
|
||||
'django_browser_reload',
|
||||
'settings',
|
||||
]
|
||||
|
||||
MIDDLEWARE = [
|
||||
|
||||
@ -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'))
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user