Skip to content

Instantly share code, notes, and snippets.

@jorgeas80
Created May 12, 2017 11:13
Show Gist options
  • Save jorgeas80/516f6530c44bd38d88885fdbda2f739f to your computer and use it in GitHub Desktop.
Save jorgeas80/516f6530c44bd38d88885fdbda2f739f to your computer and use it in GitHub Desktop.
Django dumpdata for initial data fixtures
python manage.py dumpdata app_name --indent=4 > initial_data.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment