I would like to run the following Django command (to dump the contents of my database into a text file):
python manage.py dumpdata my_app > data.json
I'm using the Django framework within PyDev as an Eclipse plugin. Therefore, in order to run the above command in PyDev I go to "Custom command" and insert dumpdata my_app > data.json
. However, doing so results in an error because of the >
character:
Error: Unknown application: >
How can I use >
(redirection) in PyDev?