ModuleNotFoundError attempting to load development settings
I'm very new to Django, so please excuse my rookie question. I understand the need to separate the development configuration from the production one. And so I have created a folder at br_project/br_project/settings/
and in it I have these files:
- __init__.py
- base.py
- development.py
- production.py
The br_project/br_project/__init__.py
file contains:
import os
env = os.environ.get('DJANGO_ENV', 'local')
if env == 'production':
from .production import *
else:
from .development import *
When .development
is called, I get an error: ModuleNotFoundError: No module named 'br_project.production'
Somehow my configuration files are not being found. What have I set up wrong?