Skip to content

Commit

Permalink
handling static in dev and base
Browse files Browse the repository at this point in the history
  • Loading branch information
princekhunt committed Jun 14, 2024
1 parent 07c34f1 commit c5b394e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
4 changes: 0 additions & 4 deletions PrivatePing/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/'
3 changes: 1 addition & 2 deletions PrivatePing/settings/development.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,4 @@

STATICFILES_DIRS = [
os.path.join(BASE_DIR, '../assets/')
]
print("Development settings loaded.")
]

0 comments on commit c5b394e

Please sign in to comment.