Skip to content
Snippets Groups Projects
Commit f4faf0ba authored by Fabrice Salvaire's avatar Fabrice Salvaire
Browse files

cleanup

parent 28be811b
No related branches found
No related tags found
No related merge requests found
......@@ -59,10 +59,7 @@ from .city import FrenchCity
def validate_year(value):
if value < 1970:
raise ValidationError(
_('%(value)s is not a valid year'),
params={'value': value},
)
raise ValidationError(_('{} is not a valid year').format(value))
####################################################################################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment