django – how to empty database [SOLVED]

To empty the database, simply run:

python manage.py flush

To force command line w/o having to confirm:

python manage.py flush ---noinput

sources

Post a Comment

Your email is never published nor shared. You're allow to say what you want...