Coverage for users\validators.py : 91%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
""" Check if a user's age is zero or less """ ((today.month, today.day) < (born.month, born.day)) _('You cannot have less than 15 years'), params={'date_param': date_param}, ) raise ValidationError( _('You cannot have more than 100 years'), params={'date_param': date_param} ) |