X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/cda147aa999b09a14dacb097d91638f6b9cca236..a1edf3f1a7cff6e6f4d85a4288ca9b1d5cd3b254:/apps/funding/__init__.py diff --git a/apps/funding/__init__.py b/apps/funding/__init__.py index e69de29bb..9e81e9ec3 100644 --- a/apps/funding/__init__.py +++ b/apps/funding/__init__.py @@ -0,0 +1,17 @@ +# -*- coding: utf-8 -*- +# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# +from django.conf import settings as settings +from catalogue.utils import AppSettings + + +class Settings(AppSettings): + """Default settings for funding app.""" + DEFAULT_LANGUAGE = u'pl' + DEFAULT_AMOUNT = 20 + MIN_AMOUNT = 1 + DAYS_NEAR = 2 + + +app_settings = Settings('FUNDING')