add sass support
This commit is contained in:
parent
6a3e63a2ff
commit
aec089b4dd
2 changed files with 12 additions and 0 deletions
|
@ -35,6 +35,9 @@ INSTALLED_APPS = [
|
||||||
'django.contrib.staticfiles',
|
'django.contrib.staticfiles',
|
||||||
'django.contrib.sites',
|
'django.contrib.sites',
|
||||||
|
|
||||||
|
'compressor',
|
||||||
|
'sass_processor',
|
||||||
|
|
||||||
'braces',
|
'braces',
|
||||||
'django_extensions',
|
'django_extensions',
|
||||||
'markdownx',
|
'markdownx',
|
||||||
|
@ -140,6 +143,12 @@ SITE_ROOT = os.path.dirname(os.path.realpath(__file__))
|
||||||
# https://docs.djangoproject.com/en/1.11/howto/static-files/
|
# https://docs.djangoproject.com/en/1.11/howto/static-files/
|
||||||
STATIC_URL = '/static/'
|
STATIC_URL = '/static/'
|
||||||
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
|
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
|
||||||
|
STATICFILES_FINDERS = (
|
||||||
|
'django.contrib.staticfiles.finders.FileSystemFinder',
|
||||||
|
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
|
||||||
|
"sass_processor.finders.CssFinder",
|
||||||
|
"compressor.finders.CompressorFinder",
|
||||||
|
)
|
||||||
|
|
||||||
MARKDOWNX_MEDIA_PATH = 'images/markdown'
|
MARKDOWNX_MEDIA_PATH = 'images/markdown'
|
||||||
MARKDOWNX_EDITOR_RESIZABLE = True
|
MARKDOWNX_EDITOR_RESIZABLE = True
|
||||||
|
|
|
@ -9,3 +9,6 @@ lxml
|
||||||
ExifRead>=3
|
ExifRead>=3
|
||||||
django-sortedm2m>=3.1.1
|
django-sortedm2m>=3.1.1
|
||||||
Pillow>=9
|
Pillow>=9
|
||||||
|
libsass
|
||||||
|
django-compressor
|
||||||
|
django-sass-processor
|
||||||
|
|
Loading…
Add table
Reference in a new issue