Fetching API data in json format and inserting it into the django local database.


Hi i am new to Django, can you please guide me as to how i can fetch data from a companies database and insert it into my database. I have been reading about models.py and serializers.py and all tutorials and readings i came accross has online shown be how to display the database data onto the html and how to export data already in the database as json data.

Guest June 5, 2017, 2:21 a.m. 1 Answer

Answers ( 1 )

  1. June 5, 2017, 8:52 a.m.
    python manage.py loaddata fixture.json

Warning! You are not logged in.
Your answer will be published as Guest user.

Post your Answer

 Prev question