bugfixing

This commit is contained in:
2022-01-24 00:48:20 +00:00
parent d79df59f2c
commit 00c92aeaca
2 changed files with 2 additions and 4 deletions

View File

@@ -187,8 +187,8 @@ else:
STATIC_URL = "/assets/" STATIC_URL = "/assets/"
STATICFILES_DIRS = [ STATICFILES_DIRS = [
#os.path.join(BASE_DIR, "gallery/static/"), os.path.join(BASE_DIR, "gallery/static"),
os.path.join(BASE_DIR, "static/"), os.path.join(BASE_DIR, "static"),
] ]
STATIC_ROOT = "assets/" STATIC_ROOT = "assets/"

View File

@@ -163,8 +163,6 @@ def show(request, id=None):
if obj.is_hidden: if obj.is_hidden:
related_posts.remove(obj) related_posts.remove(obj)
print(settings.STATICFILES_DIRS)
context = { context = {
"post": p, "post": p,
"files": files, "files": files,