Question

I get an error: ModuleNotFound masons_django_app

Connected Tutorial
This question is a follow-up to this tutorial:

I was getting started on deploying Django applications on DigitalOcean, following this tutorial. So, I completed step-4 but could not see that “it works” spacecraft thing, instead, I got an ModuleNotFoundError, no module named masons_django_app

In my settings.py I have ROOT_URLCONF = 'masons_django_app.urls' & WSGI_APPLICATION = 'masons_django_app.wsgi.application' that I think are related to this problem

Please help!

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Just in case if someone else needs help: I had to remove masons_ from both of those variables in settings.py I.E. ROOT_URLCONF = 'django_app.urls' & WSGI_APPLICATION = 'django_app.wsgi.application'