X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/eaf0711613bea8181528d8911b30ef7976b7bb42..66cc5b69e597087e8ab5b52f8e8aff1d942d6674:/src/wolnelektury/settings/apps.py?ds=inline diff --git a/src/wolnelektury/settings/apps.py b/src/wolnelektury/settings/apps.py index 76ffa6f45..0facb8e3c 100644 --- a/src/wolnelektury/settings/apps.py +++ b/src/wolnelektury/settings/apps.py @@ -1,21 +1,24 @@ # 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', # our 'ajaxable', + 'annoy', 'api', 'catalogue', 'chunks', 'dictionary', 'infopages', 'lesmianator', + 'messaging', 'newtagging', 'opds', 'pdcounter', + 'pz', + 'references', 'reporting', 'sponsors', 'stats', @@ -33,6 +36,8 @@ INSTALLED_APPS_OUR = [ 'isbn', 'paypal', 'push', + 'club.apps.ClubConfig', + 'redirects.apps.RedirectsConfig', ] INSTALLED_APPS_CONTRIB = [ @@ -42,6 +47,7 @@ INSTALLED_APPS_CONTRIB = [ # external 'django.contrib.auth', 'django.contrib.contenttypes', + 'django.contrib.messages', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', @@ -51,15 +57,14 @@ INSTALLED_APPS_CONTRIB = [ 'rest_framework', 'fnp_django_pagination', 'pipeline', - 'piwik', 'sorl.thumbnail', 'honeypot', 'fnpdjango', 'getpaid', 'getpaid.backends.payu', 'django_extensions', - 'raven.contrib.django.raven_compat', - 'club.apps.ClubConfig', + 'forms_builder.forms', + 'django_countries', 'debug_toolbar', @@ -72,10 +77,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