From c5b394ef231f0f9d2cf1d3ee5c48ecc3a31b694e Mon Sep 17 00:00:00 2001 From: princekhunt Date: Fri, 14 Jun 2024 15:56:53 +0530 Subject: [PATCH] handling static in dev and base --- PrivatePing/settings/base.py | 4 ---- PrivatePing/settings/development.py | 3 +-- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/PrivatePing/settings/base.py b/PrivatePing/settings/base.py index a1f1c82..767c8c9 100644 --- a/PrivatePing/settings/base.py +++ b/PrivatePing/settings/base.py @@ -91,8 +91,4 @@ LOGIN_REDIRECT_URL = "/" LOGOUT_REDIRECT_URL = "/" -STATICFILES_DIRS = [ - os.path.join(BASE_DIR, '../assets/static') -] -STATIC_ROOT = os.path.join(BASE_DIR, '../assets/') STATIC_URL = '/static/' \ No newline at end of file diff --git a/PrivatePing/settings/development.py b/PrivatePing/settings/development.py index 6d2b532..3aa56ea 100644 --- a/PrivatePing/settings/development.py +++ b/PrivatePing/settings/development.py @@ -46,5 +46,4 @@ STATICFILES_DIRS = [ os.path.join(BASE_DIR, '../assets/') - ] -print("Development settings loaded.") \ No newline at end of file + ] \ No newline at end of file