[Fixed]-Django says that table doesn't exist while it does

1👍

How did your table names end up with a ‘.’ in them? It’s a special character.

| propotolki.django_content_type        |
| propotolki.middleware_redirecthandler |

Try:

ALTER TABLE `propotolki.middleware_redirecthandler` RENAME TO middleware_redirecthandler

You will need to do the same for the django_content_type table too.

👤e4c5

Leave a comment