Private
Public Access
1
0

automatic expiry of non-recurring users

This commit is contained in:
Sander Roosendaal
2018-11-27 12:29:30 +01:00
parent 72743fed0e
commit e0303b90b6
6 changed files with 83 additions and 2 deletions

View File

@@ -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)