Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
2209a1ec
Verified
Commit
2209a1ec
authored
Jun 04, 2019
by
Sébastiaan Versteeg
Browse files
Set newsletter sent to True on management command
parent
38b9cb5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/newsletters/management/commands/sendplannednewsletters.py
View file @
2209a1ec
...
...
@@ -14,3 +14,5 @@ class Command(BaseCommand):
)
for
n
in
newsletters
:
emails
.
send_newsletter
(
n
)
n
.
sent
=
True
n
.
save
()
Luko van der Maas
@lukomaas
mentioned in commit
229fc1ed
·
Jun 05, 2019
mentioned in commit
229fc1ed
mentioned in commit 229fc1ed6c773b3b19e2c33f1caaf178e3bcbf2f
Toggle commit list
Luko van der Maas
@lukomaas
mentioned in commit
33ba9c96
·
Jun 05, 2019
mentioned in commit
33ba9c96
mentioned in commit 33ba9c96a07bdc00a575f751cc1d1864d236f959
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment