X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/967eed676fc83d15b26149047f353ac61faa8217..HEAD:/src/funding/management/commands/funding_notify.py diff --git a/src/funding/management/commands/funding_notify.py b/src/funding/management/commands/funding_notify.py old mode 100755 new mode 100644 index f622374fe..f475f99cb --- a/src/funding/management/commands/funding_notify.py +++ b/src/funding/management/commands/funding_notify.py @@ -1,5 +1,5 @@ -# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. -# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Wolne Lektury. See NOTICE for more information. # from django.core.management.base import BaseCommand @@ -27,7 +27,7 @@ class Command(BaseCommand): print('Notify end:', offer) # The 'WL fund' list needs to be updated. caches[settings.CACHE_MIDDLEWARE_ALIAS].clear() - offer.flush_includes() + offer.clear_cache() offer.notify_end() current = Offer.current()