mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-30 22:29:32 +00:00
Fix subscription form
This commit is contained in:
1 parent
bae34c4b1c
commit
a0b1fa32e7
5 files changed
+95
-87
No files matched your search
@@ -69,7 +69,7 @@ class Subscription(models.Model):
|
||||
except: # This should not happen, because the form should have handled the data before, but sadly, it still
|
||||
# calls the model validation :'(
|
||||
# TODO see SubscriptionForm's clean method
|
||||
raise ValidationError(_("You are trying to create a subscription without member"))
|
||||
raise ValidationError(_("Subscription error"))
|
||||
|
||||
def save(self):
|
||||
super(Subscription, self).save()
|
||||
|
||||
Reference in new issue
Block a user