From 60b51d60e44077b7cdfed56c8921d69b7ffed431 Mon Sep 17 00:00:00 2001 From: Patrick Mayr Date: Mon, 24 Jan 2022 00:48:20 +0000 Subject: [PATCH] bugfixing --- fet2020/fet2020/settings.py | 4 ++-- fet2020/posts/views.py | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/fet2020/fet2020/settings.py b/fet2020/fet2020/settings.py index f667afed..8ae05ec5 100644 --- a/fet2020/fet2020/settings.py +++ b/fet2020/fet2020/settings.py @@ -187,8 +187,8 @@ else: STATIC_URL = "/assets/" STATICFILES_DIRS = [ - #os.path.join(BASE_DIR, "gallery/static/"), - os.path.join(BASE_DIR, "static/"), + os.path.join(BASE_DIR, "gallery/static"), + os.path.join(BASE_DIR, "static"), ] STATIC_ROOT = "assets/" diff --git a/fet2020/posts/views.py b/fet2020/posts/views.py index bb4e9b87..9cb18f3d 100644 --- a/fet2020/posts/views.py +++ b/fet2020/posts/views.py @@ -176,8 +176,6 @@ def show(request, id=None): if not obj.published: related_posts.remove(obj) - print(settings.STATICFILES_DIRS) - context = { "post": post, "files": files,