how to import json file using django

89 views
Skip to first unread message

Pramod Jadhav

unread,
Mar 8, 2014, 5:36:06 AM3/8/14
to django-d...@googlegroups.com

Michael Manfre

unread,
Mar 8, 2014, 10:10:24 AM3/8/14
to django-d...@googlegroups.com
This discussion list is for the development of Django. Questions about how to use Django with your project belong on the django-users mailing list.

Regards,
Michael Manfre


On Sat, Mar 8, 2014 at 5:36 AM, Pramod Jadhav <jadhavp...@gmail.com> wrote:

--
You received this message because you are subscribed to the Google Groups "Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To post to this group, send email to django-d...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/04ef997e-1613-4438-a3d5-2d1d201eb8a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

François Schiettecatte

unread,
Mar 8, 2014, 10:13:29 AM3/8/14
to django-d...@googlegroups.com
This question is bereft of details, so I will make lots of assumptions here.

Django can't import a json file.

You should look at the json module to see how to import and parse a json file into something that python can understand.

Then you might want to store the data in a database, either as discrete fields or as a json blob.

François
signature.asc
Reply all
Reply to author
Forward
0 new messages