Skip to content

Conversation

@siriusjack
Copy link

Added DJANGO_SETTNGS_MODULES in the env.example for resolveing the
path to the config file for django

Problem

Under the docker environment, Django cannot run
without specifying the path to the pypolo.settings in the
DJANGO_SETTINGS_MODULE environment variable as shown below.

https://gyazo.com/6c9450dc68abd69ea51a568fe3241a09

Solution

Added

DJANGO_SETTINGS_MODULE=pypolo.settings

in the docker/env file.

Added DJANGO_SETTNGS_MODULES in the env.example for resolveing the
path to the config file for django
@siriusjack siriusjack changed the title Fix env file for docker container Fix env file for the docker container May 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant