diff --git a/main/templates/main/temp.html b/main/templates/main/temp.html index 24c72ef..64c0af2 100644 --- a/main/templates/main/temp.html +++ b/main/templates/main/temp.html @@ -1,7 +1,7 @@ {% load static %} - + Tas [] & Van Canto - {{ title }} diff --git a/rakka/settings.py b/rakka/settings.py index 2300269..cab9103 100644 --- a/rakka/settings.py +++ b/rakka/settings.py @@ -12,7 +12,7 @@ https://docs.djangoproject.com/en/3.1/ref/settings/ from pathlib import Path with open('rakka.conf') as argagarg: - conf={n.split('=',1)[0]:n.split('=',1)[1] for n in argagarg.read().split('\n')} + conf={n.split('=',1)[0]:n.split('=',1)[1] for n in argagarg.read().strip().split('\n')} # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent @@ -27,7 +27,7 @@ SECRET_KEY = conf['SECRET_KEY'] # SECURITY WARNING: don't run with debug turned on in production! DEBUG = bool(conf['DEBUG']) -ALLOWED_HOSTS = [n.strip() for n in conf['ALLOWED_HOSTS'].split(',')] # [127.0.0.1,::1,localhost] +ALLOWED_HOSTS = [n.strip() for n in conf['ALLOWED_HOSTS'].split(',')] # Application definition @@ -120,4 +120,4 @@ USE_TZ = True # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/3.1/howto/static-files/ -STATIC_URL = '/static/' +STATIC_URL = '/static/' \ No newline at end of file