Django forms: where is POST data received?
- by Rosarch
I have a widget that allows user to enter data for a model field. The data in the form can't be directly converted to Python - it requires some coercion. Where do I put this code? Is the widget responsible for translating its post data to a python value? The field itself?
I thought that maybe value_from_datadict() would be correct, but now it…