I have these two files:
These are the following functions stung to config.py:
debug = True
But I am getting this error:
ModuleNotFoundError: No module named 'config'
The py3 convention is to use absolute imports:
from . import config
However, this leads to the following error:
ImportError: cannot import name 'config'
Can someone help me solve this?