automatic expiry of non-recurring users
This commit is contained in:
@@ -702,6 +702,13 @@ class Rower(models.Model):
|
||||
|
||||
rowerplan = models.CharField(default='basic',max_length=30,
|
||||
choices=plans)
|
||||
paymenttype = models.CharField(
|
||||
default='single',max_length=30,
|
||||
choices=(
|
||||
('single','single'),
|
||||
('recurring','recurring')
|
||||
)
|
||||
)
|
||||
|
||||
planexpires = models.DateField(default=timezone.now)
|
||||
teamplanexpires = models.DateField(default=timezone.now)
|
||||
|
||||
Reference in New Issue
Block a user