Here is what I want to do:
- Retrieve a list of all objects in all my django apps that inherit from forma.Form
- Find all CharField defined on the form
- Verify that each of these fields has a max_length kwarg specified
My goal is the write a unit test to fail if a form exists within our system that does not have a max length specified.
how would I do this?
Aucun commentaire:
Enregistrer un commentaire