mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-09 12:20:28 +00:00
Edited random file
This commit is contained in:
1 file changed
+4
@@ -76,6 +76,8 @@ class Subscription(models.Model):
|
||||
class Meta:
|
||||
ordering = ["subscription_start"]
|
||||
|
||||
|
||||
|
||||
def clean(self):
|
||||
try:
|
||||
for s in (
|
||||
@@ -97,6 +99,8 @@ class Subscription(models.Model):
|
||||
# TODO see SubscriptionForm's clean method
|
||||
raise ValidationError(_("Subscription error"))
|
||||
|
||||
|
||||
|
||||
def save(self):
|
||||
super(Subscription, self).save()
|
||||
from counter.models import Customer
|
||||
|
||||
Reference in new issue
Block a user