title: Django Javascript form validation
body: <p>I'd like to add js validation to my forms, and that validation should be done without requests to my server.</p>
  
  <p>So, say, I open a page with form, make some errors and js code show me (without single request to the server) that, say, this field is required, this field is too short, this field should be a number etc.</p>
  
  <p>The main idea - DRY - this js code should be auto-generated and/or it should get validation rules from form.</p>
  
  <p>Now I would implement such validation by writing custom js code (or use some form validation libraries), and I need to duplicate validation rules - in forms and in js code. This is not DRY :) Also I'll get some problems connected with error messages.</p>
  
  <p>Is there solution for my need?</p>
  
  <p>Thanks.</p>