Private
Public Access
1
0

added notification to rowing physics

This commit is contained in:
Sander Roosendaal
2017-06-16 15:41:07 +02:00
parent 81b6d2d919
commit a70a1e98ac
8 changed files with 177 additions and 114 deletions

View File

@@ -232,6 +232,9 @@ class Rower(models.Model):
('hidden','Hidden'),
)
getemailnotifications = models.BooleanField(default=True,
verbose_name='Receive email notifications')
rowerplan = models.CharField(default='basic',max_length=30,
choices=plans)
@@ -746,7 +749,7 @@ class RowerPowerZonesForm(ModelForm):
class AccountRowerForm(ModelForm):
class Meta:
model = Rower
fields = ['weightcategory']
fields = ['weightcategory','getemailnotifications']
class UserForm(ModelForm):
class Meta: