X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/dbb1ae2cf25105f7a3831961b08386a1326baef8..bf3f18ce9313f4929ff327fbf12803157de171cb:/apps/catalogue/__init__.py diff --git a/apps/catalogue/__init__.py b/apps/catalogue/__init__.py index 2e7a89f90..eaeb7d468 100644 --- a/apps/catalogue/__init__.py +++ b/apps/catalogue/__init__.py @@ -7,6 +7,9 @@ from django.conf import settings as settings from catalogue.utils import AppSettings +default_app_config = 'catalogue.apps.CatalogueConfig' + + class Settings(AppSettings): """Default settings for catalogue app.""" DEFAULT_LANGUAGE = u'pol' @@ -21,6 +24,7 @@ class Settings(AppSettings): REDAKCJA_URL = "http://redakcja.wolnelektury.pl" GOOD_LICENSES = set([r'CC BY \d\.\d', r'CC BY-SA \d\.\d']) + RELATED_RANDOM_PICTURE_CHANCE = .5 def _more_DONT_BUILD(self, value): for format_ in ['cover', 'pdf', 'epub', 'mobi', 'fb2', 'txt']: