We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76d204c commit 3b0a0b3Copy full SHA for 3b0a0b3
ephios/core/signup/methods.py
@@ -373,7 +373,7 @@ def check_inside_signup_timeframe(method, participant):
373
374
375
def check_participant_age(method, participant):
376
- minimum_age = method.configuration.minimum_age
+ minimum_age = getattr(method.configuration, "minimum_age", None)
377
day = method.shift.start_time.date()
378
age = participant.get_age(day)
379
if minimum_age is not None and age is not None and age < minimum_age:
0 commit comments