Operationalerror in django contrib. Mar 8, 2022 · [NOTE: This is using Django 4. I have added the traceback in my post. Why is that? For all other models - everything works as desired, even in the same app. However, as shown in the Django documentation, I want to use a Postgres connection service file instead. 9 because you can no longer have a queryset of the form Model. OperationalError: no such table: tests_test1 エラーの原因とそれに対する解決方法をメモしておく Django Exceptions¶ Django raises some of its own exceptions as well as standard Python exceptions. Of which sometimes the Django confuses I suppose over here. In the "django" part of your docker-compose. You did not run migrate to create your base models. zuqwldohyrcbanrudjfjfrioxdyojydgejimfblbgrowvaolfoahqlvmqqxvhmsxknuqbhqeqq