Automatically strip CharFields
Modifies CharField so that it's value is stripped before cleaning. Put before your forms class or somewhere higher (urls, models).
- fields
- forms
- strip
Modifies CharField so that it's value is stripped before cleaning. Put before your forms class or somewhere higher (urls, models).
Serves serialized QuerySet or other list passed in data parameter as json content.
pietras has posted 2 snippets.