Re: loading script deployment

2018-02-11 Thread Leif
Thank you, Jani, I will try. Best, Leif On Saturday, February 10, 2018 at 10:14:29 AM UTC-5, Leif wrote: > > Dear Django, > > Sorry if this question has been answered. I have a Django based web > application and I just developed a loading script to upload data to > database using django model.

Re: loading script deployment

2018-02-11 Thread Jani Tiainen
Hi. Since you have so much data to pass and it's in CSV format I would suggest that instead of pushing data row by row over network upload that data in CSV format to your API. Then parse file using forms and save to database. 10.2.2018 22.47 "Leif" kirjoitti: Hi Dylan,

Re: loading script deployment

2018-02-10 Thread Leif
Hi Dylan, Thank you for the great input. Hopefully django REST interface will be able to handle the post for large amount of data (~500k rows) without problem. Best, Leif On Saturday, February 10, 2018 at 10:14:29 AM UTC-5, Leif wrote: > > Dear Django, > > Sorry if this question has been

Re: loading script deployment

2018-02-10 Thread Dylan Reinhold
What you want to do is build a REST interface for this data load. Then you give them a python script that is just pushing the data into your REST API. Using the management commands requite most of of your project to be installed on their side and even worse it would need a connection back to the

loading script deployment

2018-02-10 Thread Leif
Dear Django, Sorry if this question has been answered. I have a Django based web application and I just developed a loading script to upload data to database using django model. The code is located under management/commands. Here is the commands to run the script: $source