Setup Sass for Bootstrap and Darkly theme

Genre graph stopped showing up for whatever reason.
This commit is contained in:
2018-11-18 02:48:24 -05:00
parent a7e4c151cf
commit 4ff1bc6744
101 changed files with 14022 additions and 45 deletions

View File

@@ -42,6 +42,7 @@ INSTALLED_APPS = [
'graphs.apps.GraphsConfig',
'django_tables2',
'django_filters',
'sass_processor',
]
MIDDLEWARE = [
@@ -125,10 +126,20 @@ USE_TZ = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/2.0/howto/static-files/
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, "spotifyvis/static")
STATICFILES_DIRS = [
os.path.join(BASE_DIR, "static"),
os.path.join(BASE_DIR, "static/"),
]
STATICFILES_FINDERS = [
'django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
'sass_processor.finders.CssFinder',
]
SASS_PROCESSOR_ROOT = STATIC_ROOT
SASS_PROCESSOR_INCLUDE_DIRS = [
os.path.join(STATICFILES_DIRS[0], "scss/bootstrap"),
]
MEDIA_URL = '/media/'

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long