Is there some method to clean all model in Django (clean table in database)?
I cant understand by reading official documentation because I’m not a native speaker, but I’m doing my best.
Is there some method to clean all model in Django (clean table in database)?
Share
The
resetsubcommand ofdjango-adminormanage.pywill drop and recreate the tables for the supplied apps. For example,python manage.py reset authwill drop and recreate the tables for the django.contrib.auth application.