Solution 1

When django imports development from our package, it initialises all variables inside base since we have to defined below inside __init__.py

from base import *

Solution 2

Run following command to select settings

python manage.py runserver 127.0.0.1:8000 --settings=app_name.settings.development

%d bloggers like this: