Django: dump SQL data into an xml file


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  1. python manage.py dumpdata --format=xml app_name > apps/app_name/initial_data.xml

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.