X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/356ce56229b7439ae6f35f8f80e480bdfa8bff56..2ecf0995e67a4fefb003e66a2490d4895b2c0b07:/src/wolnelektury/settings/apps.py?ds=sidebyside diff --git a/src/wolnelektury/settings/apps.py b/src/wolnelektury/settings/apps.py index 241b4b791..320f6ddd4 100644 --- a/src/wolnelektury/settings/apps.py +++ b/src/wolnelektury/settings/apps.py @@ -1,7 +1,6 @@ # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. - -from machina import get_apps as get_machina_apps +# INSTALLED_APPS_OUR = [ 'wolnelektury', @@ -71,10 +70,23 @@ INSTALLED_APPS_CONTRIB = [ 'allauth.socialaccount.providers.google', # 'allauth.socialaccount.providers.twitter', - # Machina related apps: + # Machina dependencies: 'mptt', 'haystack', 'widget_tweaks', -] + get_machina_apps() + + # Machina apps: + 'machina', + 'machina.apps.forum', + 'machina.apps.forum_conversation', + 'machina.apps.forum_conversation.forum_attachments', + 'machina.apps.forum_conversation.forum_polls', + 'machina.apps.forum_feeds', + 'machina.apps.forum_moderation', + 'machina.apps.forum_search', + 'machina.apps.forum_tracking', + 'machina.apps.forum_member', + 'machina.apps.forum_permission', +] INSTALLED_APPS = INSTALLED_APPS_OUR + INSTALLED_APPS_CONTRIB