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 python manage.py flush For Django < 1.5 python manage.py reset appname (you can add –no-input to the end of the command for it to skip the interactive prompt.) If … Read more