diff --git a/khaganat/apps.py b/khaganat/apps.py index f055346..532c1f2 100644 --- a/khaganat/apps.py +++ b/khaganat/apps.py @@ -1,10 +1,5 @@ -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 af00d6e..dc04293 100644 --- a/khaganat/settings.py +++ b/khaganat/settings.py @@ -41,10 +41,10 @@ INSTALLED_APPS = [ 'django.contrib.sessions', 'django.contrib.messages', 'khaganat.apps.KhaganatConfig', - 'khaganat.apps.KhaganatStaticFilesConfig', 'neluser.apps.NeluserConfig', 'pages.apps.PagesConfig', 'navbar.apps.NavbarConfig', + 'static_extra.apps.KhaganatStaticFilesConfig', 'logs.apps.LogsConfig', 'nsfw.apps.NsfwConfig', 'npb.apps.NpbConfig', diff --git a/static_extra/apps.py b/static_extra/apps.py new file mode 100644 index 0000000..7aa6b69 --- /dev/null +++ b/static_extra/apps.py @@ -0,0 +1,5 @@ +from django.contrib.staticfiles.apps import StaticFilesConfig + + +class KhaganatStaticFilesConfig(StaticFilesConfig): + ignore_patterns = ['CVS', '.*', '*~', 'sass']