add sitewide static assets

This commit is contained in:
Seth Ladygo
2019-03-15 19:23:34 -07:00
parent 59466bffa1
commit 39028012ca
3 changed files with 4 additions and 0 deletions

View File

@ -148,6 +148,9 @@ USE_TZ = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/2.1/howto/static-files/
STATIC_URL = '/static/'
STATICFILES_DIRS = [
os.path.join(BASE_DIR, "static"),
]
LOGIN_REDIRECT_URL = reverse_lazy('home')
LOGOUT_REDIRECT_URL = reverse_lazy('home')