bugfixing
This commit is contained in:
@@ -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/"
|
||||||
|
|||||||
@@ -176,8 +176,6 @@ def show(request, id=None):
|
|||||||
if not obj.published:
|
if not obj.published:
|
||||||
related_posts.remove(obj)
|
related_posts.remove(obj)
|
||||||
|
|
||||||
print(settings.STATICFILES_DIRS)
|
|
||||||
|
|
||||||
context = {
|
context = {
|
||||||
"post": post,
|
"post": post,
|
||||||
"files": files,
|
"files": files,
|
||||||
|
|||||||
Reference in New Issue
Block a user