X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d69fc5f16ed739c02685e7d695abf6de59c2bf5e..bf3f18ce9313f4929ff327fbf12803157de171cb:/apps/catalogue/__init__.py diff --git a/apps/catalogue/__init__.py b/apps/catalogue/__init__.py index f3d44e104..eaeb7d468 100644 --- a/apps/catalogue/__init__.py +++ b/apps/catalogue/__init__.py @@ -24,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']: