old_contents: # This is a sample settings_local.py file. To use it, do:
  #
  # 1. cp settings_local.py-dist settings_local.py
  # 2. edit with your editor
  #
  # See settings.py and documentation for other things you can configure.
  
  DEBUG = False
  
  SITE_TITLE = u'{{ site_name }}'
  
  ADMINS = {{ admins }}
  
  SECRET_KEY = '{{ secret_key }}'
  
  ALLOWED_HOSTS = ['{{server_name}}',]
  
  BROWSERID_AUDIENCES = ['http://{{server_name}}', 
                        # 8081 is for testing in vagrant:
                         'http://{{server_name}}:8081', ] 
  
  DATABASES = {
      'default': {
          # postgresql configuration
          'ENGINE': 'django.db.backends.postgresql_psycopg2',
          'NAME': '{{db_name}}',    
      }
  }
  
  
new_contents: # This is a sample settings_local.py file. To use it, do:
  #
  # 1. cp settings_local.py-dist settings_local.py
  # 2. edit with your editor
  #
  # See settings.py and documentation for other things you can configure.
  
  DEBUG = False
  
  SITE_TITLE = u'{{ site_name }}'
  
  ADMINS = {{ admins }}
  
  API = True
  
  SECRET_KEY = '{{ secret_key }}'
  
  ALLOWED_HOSTS = ['{{server_name}}',]
  
  BROWSERID_AUDIENCES = ['http://{{server_name}}', 
                        # 8081 is for testing in vagrant:
                         'http://{{server_name}}:8081', ] 
  
  DATABASES = {
      'default': {
          # postgresql configuration
          'ENGINE': 'django.db.backends.postgresql_psycopg2',
          'NAME': '{{db_name}}',    
      }
  }
  
  
subject: Enable API.