# Prints the SQL statements that would be executed for the flush command. Will delete all the data from tables in database
django-admin sqlflush
# You can pass the name of your database specifically. Defaults to default.
database DATABASE
# If you want to delete all the tables of your app, then you can run the command
python manage.py migrate appname zero
相关问题 更多 >
编程相关推荐