xxxxxxxxxx
obj = get_object_or_404(modelname, name=name)
obj.delete()
xxxxxxxxxx
# Don't ask for a confirmation before doing the reset
python ./manage.py reset_db -c --noinput
xxxxxxxxxx
python manage.py flush --noinput
# PostgreSQL : Make sure to close database process from "Processes" tab in pgadmin dashboard
# Right click > drop/delete
xxxxxxxxxx
$ mysql> | psql> ALTER TABLE <table_name> DROP column <COLUMN_NAME>;