diff --git a/khaganat/apps.py b/khaganat/apps.py new file mode 100644 index 0000000..f055346 --- /dev/null +++ b/khaganat/apps.py @@ -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'] diff --git a/khaganat/settings.py b/khaganat/settings.py index e6e6e3d..af00d6e 100644 --- a/khaganat/settings.py +++ b/khaganat/settings.py @@ -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',