You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mac High Sierra
docker-machine version 0.13.0, build 9ba6da9
docker-compose version 1.25.2, build 698e2846
Docker version 19.03.5, build 633a0ea
All the setup and migration ran successfully (at least from what I could tell) until I got to visiting the application home page locally (for me that was http://192.168.99.100). This resulted in the error
ProgrammingError at /
relation "todo_item" does not exist
LINE 1: ...todo_item"."text", "todo_item"."date_posted" FROM "todo_item...
pointing at this line (17) in the _base.html template file ...
I've used this tutorial then changed the django app in directory /web with my own django project and it worked. I am assuming this is related to Django error rather than dockerizing it.
I'm working through the tutorial you have (https://realpython.com/django-development-with-docker-compose-and-machine/) using
Mac High Sierra
docker-machine version 0.13.0, build 9ba6da9
docker-compose version 1.25.2, build 698e2846
Docker version 19.03.5, build 633a0ea
All the setup and migration ran successfully (at least from what I could tell) until I got to visiting the application home page locally (for me that was http://192.168.99.100). This resulted in the error
ProgrammingError at /
relation "todo_item" does not exist
LINE 1: ...todo_item"."text", "todo_item"."date_posted" FROM "todo_item...
pointing at this line (17) in the _base.html template file ...
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>I don't see any "TodoItem" model in the models.py file. Any ideas what's wrong?
The text was updated successfully, but these errors were encountered: