X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d69fc5f16ed739c02685e7d695abf6de59c2bf5e..b8e94e0e7cc7576cbaacd3c737d6ffca6b12db53:/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']: