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" <xingon...@gmail.com> kirjoitti:

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 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 ./appenv/bin/activate appenv
> (appenv)$python manage.py load_data data_file.csv
>
> I would like to deploy this script to my client. I don't want to send the
> entire code of web application. How do I do it?
>
> Thank you in advance for your help.
>
> Best,
>
> Leif
>
-- 
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/
msgid/django-users/4413e8af-6203-47e9-9537-720f224e2873%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/4413e8af-6203-47e9-9537-720f224e2873%40googlegroups.com?utm_medium=email&utm_source=footer>
.

For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHn91odD33dcz9nkRT0hwQgk6qwYeuYDjryf1JwiXS_jutZ%3DZw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to