Remove sass directory from static files

This commit is contained in:
Rodolphe Breard 2018-06-11 12:42:00 +02:00
parent f249af08b7
commit 220333fdbe
2 changed files with 12 additions and 2 deletions

10
khaganat/apps.py Normal file
View file

@ -0,0 +1,10 @@
from django.contrib.staticfiles.apps import StaticFilesConfig
from django.apps import AppConfig
class KhaganatConfig(AppConfig):
name = 'khaganat'
class KhaganatStaticFilesConfig(StaticFilesConfig):
ignore_patterns = ['CVS', '.*', '*~', 'sass']

View file

@ -40,8 +40,8 @@ INSTALLED_APPS = [
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'khaganat',
'khaganat.apps.KhaganatConfig',
'khaganat.apps.KhaganatStaticFilesConfig',
'neluser.apps.NeluserConfig',
'pages.apps.PagesConfig',
'navbar.apps.NavbarConfig',