export to csv, import from csv
This is a management command to export an app to csv files, or import from csv files. Code originally from django-csvimport
- export
- csv
- import
This is a management command to export an app to csv files, or import from csv files. Code originally from django-csvimport
1. Add this decorator to whatever function: @profile('/tmp/0123test.prof') def test_function(): pass 2. If it's a django view function, let it run once. 3. Use "runsnake" to open the ".prof" file. Sweet.