This commit is contained in:
@@ -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': [
|
||||
|
||||
@@ -20,7 +20,8 @@ from django.urls import path
|
||||
from random_simpsons import apps as random_simpsons
|
||||
from paperless_django import apps as paperless_django
|
||||
from onenote import apps as onenote
|
||||
from dashboard import apps as dashboard
|
||||
from dashboard import apps as dashboardapp
|
||||
from dashboard import views as dashboardview
|
||||
from kubernetes_connection import apps as kubernetes_connection
|
||||
|
||||
urlpatterns = [
|
||||
@@ -39,7 +40,9 @@ urlpatterns = [
|
||||
path('onenote/hello/', onenote.hello),
|
||||
|
||||
################### onenote ###################
|
||||
path('dashboard/hello/', dashboard.hello),
|
||||
path('dashboard/hello/', dashboardapp.hello),
|
||||
path('dashboard/view/about', dashboardview.about),
|
||||
path('dashboard/view/home', dashboardview.home),
|
||||
|
||||
|
||||
################## kubernetes_connection#####
|
||||
|
||||
Reference in New Issue
Block a user