projects
/
pgeu-website.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
818424c
)
Add missing return
author
Magnus Hagander
<magnus@hagander.net>
Fri, 29 Jun 2018 11:29:45 +0000
(13:29 +0200)
committer
Magnus Hagander
<magnus@hagander.net>
Fri, 29 Jun 2018 11:29:45 +0000
(13:29 +0200)
postgresqleu/confreg/models.py
patch
|
blob
|
blame
|
history
diff --git
a/postgresqleu/confreg/models.py
b/postgresqleu/confreg/models.py
index 219e9c8c7a73f0109a94db72ea494331e086c713..94aa64a8ab4b6b53c60a5ed99d79944acc3dfc34 100644
(file)
--- a/
postgresqleu/confreg/models.py
+++ b/
postgresqleu/confreg/models.py
@@
-219,6
+219,7
@@
class Conference(models.Model):
cc = super(Conference, self).clean()
if self.sendwelcomemail and not self.welcomemail:
raise ValidationError("Must specify an actual welcome mail if it's enabled!")
+ return cc
class RegistrationClass(models.Model):
conference = models.ForeignKey(Conference, null=False)