fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Restore opensearch hints.
[wolnelektury.git]
/
src
/
messaging
/
models.py
diff --git
a/src/messaging/models.py
b/src/messaging/models.py
index
fccd647
..
d598fc8
100644
(file)
--- a/
src/messaging/models.py
+++ b/
src/messaging/models.py
@@
-163,6
+163,9
@@
class Contact(models.Model):
self.expires_at = expires_at
self.save()
self.expires_at = expires_at
self.save()
+ def wl_optout_url(self):
+ return 'https://wolnelektury.pl' + self.get_optout_url()
+
class EmailSent(models.Model):
template = models.ForeignKey(EmailTemplate, models.CASCADE)
class EmailSent(models.Model):
template = models.ForeignKey(EmailTemplate, models.CASCADE)