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 DB.

Dylan

On Sat, Feb 10, 2018 at 6:14 AM, Leif <[email protected]> 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 [email protected].
> To post to this group, send email to [email protected].
> 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/08fbd5c7-7b1f-410d-af06-7a5e7802b0e5%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/08fbd5c7-7b1f-410d-af06-7a5e7802b0e5%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 [email protected].
To post to this group, send email to [email protected].
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/CAHtg44AuczqY0MEwPpXt%3DsCg2nk3d1ZTCi0HhR4BThhuUC-dDQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to