This was far too broad to answer but I'm posting the solution I'm currently
implementing in case anyone else comes across this.
I have two models in the back end.
The first model has a JSONmodelfield (
https://github.com/bradjasper/django-jsonfield) and four intfields to save
the columns num
Hi,
I do something similiar this way:
You could leverage Django (model)form to validate date and to normalize
it to proper data.
That way you would put design a contract between users that you state
which column names are matched to your internal data.
Then feed each row to (model)form if row
Please let me know if this is an inappropriate question. I feel it is a
little broad.
I am fairly new to Django and coding an app for educational purposes. What
I am trying to achieve is to allow users to upload a CSV and then populate
a model by specifying that datatype that is in each colum
3 matches
Mail list logo