# pylint: disable=C0111
# pylint: disable=W0401
# pylint: disable=W0614
"""
Development settings.

In the development environment:
- Debug mode is enabled
- The secret key is hardcoded in the file
- The django-debug-toolbar is configured
"""
from .base import *  # noqa

# DEBUG
# ------------------------------------------------------------------------------
DEBUG = True
TEMPLATES[0]['OPTIONS']['debug'] = True
ALLOWED_HOSTS = ['127.0.0.1', 'localhost', '::1', 'testserver']


# SECRET CONFIGURATION
# ------------------------------------------------------------------------------
# See: https://docs.djangoproject.com/en/dev/ref/settings/#secret-key
SECRET_KEY = 'yoloyolo123'


# STATIC FILE CONFIGURATION
# ------------------------------------------------------------------------------
STATIC_URL = '/static/'

# django-debug-toolbar
# ------------------------------------------------------------------------------
MIDDLEWARE += ['debug_toolbar.middleware.DebugToolbarMiddleware']
INSTALLED_APPS += ['debug_toolbar']
INTERNAL_IPS = ['127.0.0.1']
DEBUG_TOOLBAR_CONFIG = {
}

# pylint: disable=C0111
# pylint: disable=W0401
# pylint: disable=W0614
"""
Development settings.

In the development environment:
- Debug mode is enabled
- The secret key is hardcoded in the file
- The django-debug-toolbar is configured
"""
from .base import *  # noqa

# DEBUG
# ------------------------------------------------------------------------------
DEBUG = True
TEMPLATES[0]['OPTIONS']['debug'] = True
ALLOWED_HOSTS = ['127.0.0.1', 'localhost', '::1', 'testserver']


# SECRET CONFIGURATION
# ------------------------------------------------------------------------------
# See: https://docs.djangoproject.com/en/dev/ref/settings/#secret-key
SECRET_KEY = 'yoloyolo123'


# STATIC FILE CONFIGURATION
# ------------------------------------------------------------------------------
STATIC_URL = '/static/'

# django-debug-toolbar
# ------------------------------------------------------------------------------
MIDDLEWARE += ['debug_toolbar.middleware.DebugToolbarMiddleware']
INSTALLED_APPS += ['debug_toolbar']
INTERNAL_IPS = ['127.0.0.1']
DEBUG_TOOLBAR_CONFIG = {
}

# pylint: disable=C0111 # pylint: disable=W0401 # pylint: disable=W0614 Development settings.  In the development environment: - Debug mode is enabled - The secret key is hardcoded in the file - The django-debug-toolbar is configured # noqa # DEBUG # ------------------------------------------------------------------------------ # SECRET CONFIGURATION # ------------------------------------------------------------------------------ # See: https://docs.djangoproject.com/en/dev/ref/settings/#secret-key # STATIC FILE CONFIGURATION # ------------------------------------------------------------------------------ # django-debug-toolbar # ------------------------------------------------------------------------------