old_contents: # -*- coding: utf-8 -*-
  # Production settings
  # https://docs.djangoproject.com/en/stable/howto/deployment/checklist/
  
  from .base import *  # noqa
  
  DEBUG = False
  
  # Custom admin url
  ADMIN_URL = env('DJANGO_ADMIN_URL')
  
  # Allowed hosts
  ALLOWED_HOSTS = env.list('DJANGO_ALLOWED_HOSTS', default=['{{ cookiecutter.domain_name }}'])
  
  # Gunicorn WSGI HTTP Server.
  INSTALLED_APPS += ('gunicorn', )
  
  # Simplified static file serving with whitenoise.
  # https://warehouse.python.org/project/whitenoise/
  WHITENOISE_MIDDLEWARE = ['whitenoise.middleware.WhiteNoiseMiddleware', ]
  MIDDLEWARE = WHITENOISE_MIDDLEWARE + MIDDLEWARE
  STATICFILES_STORAGE = 'whitenoise.django.GzipManifestStaticFilesStorage'
  
  # Email
  DEFAULT_FROM_EMAIL = env('DJANGO_DEFAULT_FROM_EMAIL',
                           default='{{ cookiecutter.repo_name }} <noreply@{{ cookiecutter.domain_name }}>')
  
  # Use secure cookies
  SESSION_COOKIE_SECURE = True
  SESSION_COOKIE_HTTPONLY = True
  CSRF_COOKIE_SECURE = True
  CSRF_COOKIE_HTTPONLY = True
  
  # INSTALLED_APPS += ("anymail", )
  # ANYMAIL = {
  #     "MAILGUN_API_KEY": env('DJANGO_MAILGUN_API_KEY'),
  # }
  # EMAIL_BACKEND = "anymail.backends.mailgun.MailgunBackend"
  
new_contents: # -*- coding: utf-8 -*-
  # Production settings
  # https://docs.djangoproject.com/en/stable/howto/deployment/checklist/
  
  from .base import *  # noqa
  
  DEBUG = False
  
  # Custom admin url
  ADMIN_URL = env('DJANGO_ADMIN_URL')
  
  # Allowed hosts
  ALLOWED_HOSTS = env.list('DJANGO_ALLOWED_HOSTS', default=['{{ cookiecutter.domain_name }}'])
  
  # Gunicorn WSGI HTTP Server.
  INSTALLED_APPS += ('gunicorn', )
  
  # Simplified static file serving with whitenoise.
  # https://warehouse.python.org/project/whitenoise/
  WHITENOISE_MIDDLEWARE = ['whitenoise.middleware.WhiteNoiseMiddleware', ]
  MIDDLEWARE = WHITENOISE_MIDDLEWARE + MIDDLEWARE
  STATICFILES_STORAGE = 'whitenoise.django.GzipManifestStaticFilesStorage'
  
  # This will make sure the request method is_secure() returns true.
  # https://docs.djangoproject.com/en/stable/ref/settings/#secure-proxy-ssl-header
  SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
  
  # Use secure cookies
  SESSION_COOKIE_SECURE = True
  SESSION_COOKIE_HTTPONLY = True
  CSRF_COOKIE_SECURE = True
  CSRF_COOKIE_HTTPONLY = True
  
  # Email
  DEFAULT_FROM_EMAIL = env('DJANGO_DEFAULT_FROM_EMAIL',
                           default='{{ cookiecutter.repo_name }} <noreply@{{ cookiecutter.domain_name }}>')
  
  # INSTALLED_APPS += ("anymail", )
  # ANYMAIL = {
  #     "MAILGUN_API_KEY": env('DJANGO_MAILGUN_API_KEY'),
  # }
  # EMAIL_BACKEND = "anymail.backends.mailgun.MailgunBackend"
  
subject: Add SECURE_PROXY_SSL_HEADER