Re: How to save data from form FileField to DB Django

2015-07-30 Thread Javier Guerra Giraldez
On Thu, Jul 30, 2015 at 10:40 AM, user07285 wrote: > I have a model and have added a Form FileField to take a file and save all > their contents for a particular object. The FileField doesn't need to be in > the database hence not added as a model.fileField. The content from the file > should be r

How to save data from form FileField to DB Django

2015-07-30 Thread user07285
I have a model and have added a Form FileField to take a file and save all their contents for a particular object. The FileField doesn't need to be in the database hence not added as a model.fileField. The content from the file should be read , parsed and added to the synonym_type. **model.py*