refactoring
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s

This commit is contained in:
pierre geeraert
2026-06-11 19:51:19 +01:00
parent 3079df9072
commit c86301c9b2
382 changed files with 50 additions and 83 deletions
+11 -5
View File
@@ -41,6 +41,7 @@ INSTALLED_APPS = [
'bootstrap5',
'django_hosts',
'apps.cloudmanager',
'apps.database_interaction',
]
MIDDLEWARE = [
@@ -64,7 +65,9 @@ TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
#'DIRS': ["/code/django_code/templates","/code/django_code/dashboard/templates/"],
'DIRS': [BASE_DIR / "templates","django_code/dashboard/templates/","django_code/stash_management/templates","django_code/website_redirection/templates","django_code/cloudmanager/templates"],
'DIRS': [
BASE_DIR / "templates"
],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
@@ -127,9 +130,12 @@ USE_TZ = True
STATIC_URL = '/static/'
STATIC_ROOT= os.path.join(BASE_DIR,'django_code/apps/cloudmanager/templates/')
STATICFILES_DIRS = ["django_code/apps/cloudmanager/templates/css","django_code/apps/cloudmanager/templates/fonts","django_code/apps/cloudmanager/templates/images","django_code/apps/cloudmanager/templates/js"]
STATICFILES_DIRS = [
BASE_DIR / "templates/cloudmanager/css",
BASE_DIR / "templates/cloudmanager/fonts",
BASE_DIR / "templates/cloudmanager/images",
BASE_DIR / "templates/cloudmanager/js"
]
# Default primary key field type
# https://docs.djangoproject.com/en/4.2/ref/settings/#default-auto-field
@@ -141,6 +147,6 @@ CELERY_BROKER_URL = "redis://django-redis-svc:6379"
CELERY_RESULT_BACKEND = "redis://django-redis-svc:6379"
CELERY_IMPORTS = [
'stash_management.apps', # This line imports the tasks.py file
'apps.stash_management.apps', # This line imports the tasks.py file
# Add other app tasks here if needed
]