added notification to rowing physics
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user