working on views
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 35s

This commit is contained in:
Pierre Geeraert
2025-05-30 11:51:23 +01:00
parent 385d42d0be
commit 80a75a445e
5 changed files with 68 additions and 4 deletions
+4 -2
View File
@@ -25,7 +25,7 @@ SECRET_KEY = 'django-insecure-71%)_#e#o9-dl2o^6mfud-*rw+4+8vy-nd*bzeier&(34ap-p9
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = ['reverse.tryton.geeraert.eu','192.168.4.100','django.tryton.geeraert.eu']
ALLOWED_HOSTS = ['reverse.tryton.geeraert.eu','192.168.4.100','django.tryton.geeraert.eu','localhost']
# Application definition
@@ -37,6 +37,7 @@ INSTALLED_APPS = [
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'bootstrap5',
]
MIDDLEWARE = [
@@ -54,7 +55,8 @@ ROOT_URLCONF = 'django_code.urls'
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ["/code/django_code/templates"],
#'DIRS': ["/code/django_code/templates","/code/django_code/dashboard/templates/"],
'DIRS': [BASE_DIR / "templates","django_code/dashboard/templates/"],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [