Skip to content
Advertisement

Problem with Django: No module named ‘myapp’

Good afternoon, I’m new to Django and I’m trying to follow a tutorial. However, when running the server, the following error pops up:

File "C:UsersJorgePycharmProjectswebmysitemysiteurls.py", line 18, in <module>
from myapp.views import *
ModuleNotFoundError: No module named 'myapp'

This is a screenshot about how my files are right now: screenshot

Advertisement

Answer

Your myapp folder should be inside in your mysite folder

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement