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
5a184bdb
Verified
Commit
5a184bdb
authored
Jan 23, 2019
by
Sébastiaan Versteeg
Browse files
Fix unpublishing event
parent
17728666
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/events/models.py
View file @
5a184bdb
...
...
@@ -384,9 +384,11 @@ class Event(models.Model, metaclass=ModelTranslateMeta):
if
(
self
.
registration_reminder
is
not
None
and
not
self
.
registration_reminder
.
sent
):
self
.
registration_reminder
.
delete
()
self
.
registration_reminder
=
None
if
(
self
.
start_reminder
is
not
None
and
not
self
.
start_reminder
.
sent
):
self
.
start_reminder
.
delete
()
self
.
start_reminder
=
None
super
().
save
()
...
...
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