Private
Public Access
1
0

removing some remnants of coach and plan

This commit is contained in:
2025-01-01 15:50:29 +01:00
parent fe517debdd
commit 56b2a1235c
10 changed files with 28 additions and 129 deletions

View File

@@ -1392,9 +1392,9 @@ def iscoachmember(user):
r.save()
if user.is_authenticated:
if 'coach' in r.rowerplan:
if 'pro' in r.rowerplan:
return True
elif r.coachtrialexpires >= timezone.now().date():
elif r.protrialexpires >= timezone.now().date():
return True