Hello, I am trying to use this CSV to JSon Fixture snippet but I couldn't make it work.
http://www.djangosnippets.org/snippets/1680/ Can anyone help me to run this snippet. I copy the instruction below. Thank you. ---------------------------------------------- The instructions for csv2json.py To run script csv2json.py input_file_name model_name e.g. csv2json.py airport.csv app.airport.Airport Note: input_file_name should be a path relative to where this script is. Scripts depends on simplejson module. The module can just be placed in a sub-folder to the script to make it easier to import. If you use the same Python binary that you use for your Django site, you could use the Django import instead: from django.utils import simplejson -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=.