fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e852900
)
Bugfix.
author
Radek Czajka
<rczajka@rczajka.pl>
Wed, 29 Jan 2020 13:00:08 +0000
(14:00 +0100)
committer
Radek Czajka
<rczajka@rczajka.pl>
Wed, 29 Jan 2020 13:00:08 +0000
(14:00 +0100)
src/messaging/models.py
patch
|
blob
|
history
diff --git
a/src/messaging/models.py
b/src/messaging/models.py
index
8ef6c4c
..
da8a01e
100644
(file)
--- a/
src/messaging/models.py
+++ b/
src/messaging/models.py
@@
-40,7
+40,7
@@
class EmailTemplate(models.Model):
state = self.get_state(time=time)
contacts = state.get_contacts()
- contacts = contacts.exclude(emailsent_
set_
_template=self)
+ contacts = contacts.exclude(emailsent__template=self)
for contact in contacts:
self.send(contact, verbose=verbose, dry_run=dry_run)