What is the easiest way to clear a database from the CLI with manage.py in Django?
If you don’t care about data: Best way would be to drop the database and run syncdb again. Or you can run: For Django >= 1.5 For Django < 1.5 (you can add –no-input to the end of the command for it to skip the interactive prompt.) If you do care about data: From the docs: syncdb will only … Read more