Bewertungen verstecken wenn keine vorhanden und Möglichkeit zum deaktivieren von Bewertungen

This commit is contained in:
Juhn-Vitus Saß
2025-04-22 18:28:50 +02:00
parent a16c97c4f3
commit 154110e510
6 changed files with 27 additions and 6 deletions

View File

@@ -10,6 +10,7 @@ For the full list of settings and their values, see
https://docs.djangoproject.com/en/5.1/ref/settings/
"""
import json
from pathlib import Path
# Build paths inside the project like this: BASE_DIR / 'subdir'.
@@ -27,6 +28,9 @@ DEBUG = True
ALLOWED_HOSTS = ['127.0.0.1', 'localhost', '*']
# Konfigurationsdatei für Projekt
with open(BASE_DIR / 'config' / 'qivip_config.json') as config_file:
QIVIP_CONFIG = json.load(config_file)
# Application definition