small fixes for static files
This commit is contained in:
@@ -10,6 +10,7 @@ For the full list of settings and their values, see
|
||||
https://docs.djangoproject.com/en/3.1/ref/settings/
|
||||
"""
|
||||
|
||||
import os
|
||||
from pathlib import Path
|
||||
|
||||
# Build paths inside the project like this: BASE_DIR / 'subdir'.
|
||||
@@ -119,7 +120,7 @@ USE_TZ = True
|
||||
# https://docs.djangoproject.com/en/3.1/howto/static-files/
|
||||
|
||||
STATIC_URL = '/static/'
|
||||
STATICFILES_DIRS = [ '/static/' ]
|
||||
STATIC_ROOT = os.path.join(BASE_DIR, "static")
|
||||
LOGIN_REDIRECT_URL = '/home/'
|
||||
LOGOUT_REDIRECT_URL = '/home/'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user