delete and start fresh with db django

Step 1: Open a terminal and navigate to the root directory of your Django project. Step 2: Enter the command "python manage.py shell" to open the Django shell. Step 3: Once in the Django shell, import the necessary model you want to delete by using the following command: "from myapp.models import YourModel". Step 4: Delete all objects from the model using the command: "YourModel.objects.all().delete()". Step 5: To recreate the initial database schema, run the following commands: "python manage.py makemigrations" "python manage.py migrate" Step 6: Your Django database is now empty and the initial schema is in place.