Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
thalia
concrexit
Commits
2209a1ec
Verified
Commit
2209a1ec
authored
Jun 04, 2019
by
Sébastiaan Versteeg
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set newsletter sent to True on management command
parent
38b9cb5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
website/newsletters/management/commands/sendplannednewsletters.py
...newsletters/management/commands/sendplannednewsletters.py
+2
-0
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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