Report this

What is the reason for this report?

I get an error: ModuleNotFound masons_django_app

Posted on February 19, 2021

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

How To Deploy a Django App on App Platform

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!



This textbox defaults to using Markdown to format your 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'

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.