[Answer]-Where should I put a validation method that would be considered best practice?


Django keeps its built-in validators in the django.core.validators module.

If you followed this you could create a validators.py in your app.

You’d then import validators and use validators.zipValidate(s) or from validators import zipValidate and use zipValidate(s) as you are.

I hope that helps.

Leave a comment