2👍
✅
This has nothing to do with values
, You’re using the using
method in the second query which is used to tell django which database you want to query.
Henceforth you’re looking in a separate database which does have the relevant migrations applied
0👍
For anyone else who finds this when they Google it, the problem that I had that caused this same error (which was not the OP’s problem, as it turns out) was that I had a router that assigned the model to different hosts for reading and writing, and the writing host was behind a firewall, so that would be another thing to check if you see that Django is saying the table does not exist when it definitely does.
- [Answered ]-How to retrieve the field which triggered a hit for a elasticsearch query
- [Answered ]-Save pillow objects to S3 with django_storages
- [Answered ]-Can't access Django admin page it gives an error
- [Answered ]-Creating an API using Django-Rest-Framework with join tables
- [Answered ]-Can't load statics, Django rest_framework on Apache, Windows
Source:stackexchange.com