X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9e621499c65fcb873d2963c7da13be76d6aff825..51ac945348ac0e1de1daaa181a8a81c2dc0801c0:/src/funding/models.py?ds=sidebyside diff --git a/src/funding/models.py b/src/funding/models.py index 9907cd017..289ec3379 100644 --- a/src/funding/models.py +++ b/src/funding/models.py @@ -304,6 +304,9 @@ class Funding(models.Model): 'key': self.notify_key, })) + def wl_optout_url(self): + return 'https://wolnelektury.pl' + self.get_disable_notifications_url() + def save(self, *args, **kwargs): if self.email and not self.notify_key: self.notify_key = get_random_hash(self.email)