"settings.DATABASES is improperly configured. "
ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the NAME value.
Step 38 : RUN django-admin.py syncdb --noinput
---> Running in 203fa4f984d2
Traceback (most recent call last):
File "/usr/local/bin/django-admin.py", line 5, in <module>
management.execute_from_command_line()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 345, in execute
settings.INSTALLED_APPS
File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 46, in __getattr__
self._setup(name)
File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 42, in _setup
self._wrapped = Settings(settings_module)
File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 98, in __init__
% (self.SETTINGS_MODULE, e)
ImportError: Could not import settings 'settings.prod' (Is it on sys.path? Is there an import error in the settings file?): No module named settings.prod
:/:/docker_book/lib/:/Booktype/lib:/docker_book:/docker_book/settings
More details here: https://hub.docker.com/r/olafradicke/booktype/builds/bwainaajkajfen5vtkxfwjm/settings.prod
but that is not a solution.os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings.dev")
It looks like you're new here. If you want to get involved, click one of these buttons!