Deleting a table in Django can be very tricky.
First, if you are using SQLite which comes with Django and you feel you have messed up your whole table/database do the following
1. Delete the SQLite file. This erases the database.
2. Adjust your models and make migrations again using
python manage.py makemigrations and
python manage.py migrate
To delete a table, you have to use MySQL connector to make changes to the database.
Last, altering a table is also tricky. If you added new lines of codes to your database which already exists, you have to set