I'm not sure I fully understand your question. When you upload data, you need to save it in the device. Check out this blog post: http://solutions.treypiepmeier.com/2008/09/28/use-django-fixtures-to-automatically-load-data-when-you-install-an-app/
Basically, do something like this (replace the name [app_name] with the name of your application):
python manage.py dumpdata [app_name] > [app_name]/fixtures/initial_data.json
You will probably need to create a device catalog for your application.
When you run python manage.py syncdb, it automatically searches for appliances in the location [username] /fixtures/initial_data.json
Also, if you do not need. / when you enter python. those. You can write
python manage.py ...
but not
python ./manage.py ...
joshcartme
source share