Sharing form validation rules between frontend and backend with Django
Almost every modern website has it: validation on a form as soon as you edit or leave the input. This gives the user immediate feedback, improving the user experience. However, for a developer, it can result in doing the work twice. Here's how we solved that.