diff --git a/project/project_name/settings/development.py b/project/project_name/settings/development.py deleted file mode 100644 index ff665a8a1dc2d39c50319e9ec9fb8ba68e698f81..0000000000000000000000000000000000000000 --- a/project/project_name/settings/development.py +++ /dev/null @@ -1,52 +0,0 @@ -# Development environment settings for project {{ project_name }}. - -# -# This configuration file is used to define settings for the development -# environment. -# - -# Import the exception for signaling invalid configuration. No other -# Django-specific definitions should be imported here. -from django.core.exceptions import ImproperlyConfigured - -# Import the base settings. -from .base import * - -# Import the credentials. -try: - from .credentials import DATABASE_PASSWORDS -except ImportError: - raise ImproperlyConfigured("Please configure the DATABASE_PASSWORDS in credentials.py.") - -try: - from .credentials import SECRET_KEY -except ImportError: - raise ImproperlyConfigured("Please configure the SECRET_KEY in credentials.py.") - -# Debugging is useful for development. -DEBUG = True -for template_config in TEMPLATES: - template_config['OPTIONS']['debug']=True - -# Site administrators and managers. -ADMINS = ( - # ('Your Name', 'your_email@example.com'), -) -MANAGERS = ADMINS - -# Database configuration. sqlite3 is used for development for convenience. See -# testing/production environment settings and official Django documentation if a -# proper database should be used. -DATABASES = { - 'default': { - 'ENGINE': 'django.db.backends.sqlite3', - 'NAME': 'development.sqlite3', - } -} - -# Hosts that are valid for accessing this site. For development, empty list is -# sufficient. -ALLOWED_HOSTS = [] - -# Local time zone for development environment. -TIME_ZONE = 'Europe/Stockholm'