X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/5af5cc14f6b2ecddcad714053e048e39d52ca02d..2cd938606837981b7a3914458ae0071828ef37ca:/prawokultury/settings.d/60-custom.conf?ds=sidebyside diff --git a/prawokultury/settings.d/60-custom.conf b/prawokultury/settings.d/60-custom.conf index ea1112c..87e1d91 100755 --- a/prawokultury/settings.d/60-custom.conf +++ b/prawokultury/settings.d/60-custom.conf @@ -1,8 +1,19 @@ -from prawokultury.helpers import LazyUGettextLazy as gettext +from fnpdjango.utils.settings import LazyUGettextLazy as gettext from migdal.helpers import EntryType MIGDAL_TYPES = ( EntryType('info', gettext('info'), commentable=False, on_main=False), ) -MIGDAL_TAXONOMIES = () \ No newline at end of file +MIGDAL_TAXONOMIES = () +MIGDAL_MAIN_PAGE_ENTRY = {'slug_pl': 'co'} + +CONTACT_FORMS_MODULE = 'prawokultury.contact_forms' + +MENU_MODULE = 'prawokultury.menu_items' + +# Use Nginx's X-accel when serving files with helpers.serve_file(). +# See http://wiki.nginx.org/X-accel +X_ACCEL_REDIRECT = False + +REGISTRATION_LIMIT = 100