from django.conf import settings
import logging

def add_settings( request ):
    """Add some selected settings values to the context"""
    return {
        'settings': {
            'STAGING':                      settings.STAGING,
            'STATIC_GENERATION_NUMBER':     settings.STATIC_GENERATION_NUMBER,
            'GOOGLE_ANALYTICS_ACCOUNT':     settings.GOOGLE_ANALYTICS_ACCOUNT,
            'POLLDADDY_WIDGET_ID':          settings.POLLDADDY_WIDGET_ID,
            'DISQUS_SHORTNAME':             settings.DISQUS_SHORTNAME,
            'DISQUS_USE_IDENTIFIERS':       settings.DISQUS_USE_IDENTIFIERS,
            'TWITTER_USERNAME':             settings.TWITTER_USERNAME,
            'TWITTER_WIDGET_ID':            settings.TWITTER_WIDGET_ID,
            'BLOG_RSS_FEED':                settings.BLOG_RSS_FEED,
            'ENABLED_FEATURES':             settings.ENABLED_FEATURES,
            'MAP_BOUNDING_BOX_NORTH':       settings.MAP_BOUNDING_BOX_NORTH,
            'MAP_BOUNDING_BOX_EAST':        settings.MAP_BOUNDING_BOX_EAST,
            'MAP_BOUNDING_BOX_SOUTH':       settings.MAP_BOUNDING_BOX_SOUTH,
            'MAP_BOUNDING_BOX_WEST':        settings.MAP_BOUNDING_BOX_WEST,
        }
    }

from django.conf import settings
import logging

def add_settings( request ):
    """Add some selected settings values to the context"""
    return {
        'settings': {
            'STAGING':                      settings.STAGING,
            'STATIC_GENERATION_NUMBER':     settings.STATIC_GENERATION_NUMBER,
            'GOOGLE_ANALYTICS_ACCOUNT':     settings.GOOGLE_ANALYTICS_ACCOUNT,
            'POLLDADDY_WIDGET_ID':          settings.POLLDADDY_WIDGET_ID,
            'DISQUS_SHORTNAME':             settings.DISQUS_SHORTNAME,
            'DISQUS_USE_IDENTIFIERS':       settings.DISQUS_USE_IDENTIFIERS,
            'TWITTER_USERNAME':             settings.TWITTER_USERNAME,
            'TWITTER_WIDGET_ID':            settings.TWITTER_WIDGET_ID,
            'BLOG_RSS_FEED':                settings.BLOG_RSS_FEED,
            'ENABLED_FEATURES':             settings.ENABLED_FEATURES,
            'COUNTRY_APP':                  settings.COUNTRY_APP,
            'MAP_BOUNDING_BOX_NORTH':       settings.MAP_BOUNDING_BOX_NORTH,
            'MAP_BOUNDING_BOX_EAST':        settings.MAP_BOUNDING_BOX_EAST,
            'MAP_BOUNDING_BOX_SOUTH':       settings.MAP_BOUNDING_BOX_SOUTH,
            'MAP_BOUNDING_BOX_WEST':        settings.MAP_BOUNDING_BOX_WEST,
        }
    }

Add COUNTRY_APP to settings exposed to the templates
Add COUNTRY_APP to settings exposed to the templates

  from django.conf import settings
  import logging
  
  def add_settings( request ):
      """Add some selected settings values to the context"""
      return {
          'settings': {
              'STAGING':                      settings.STAGING,
              'STATIC_GENERATION_NUMBER':     settings.STATIC_GENERATION_NUMBER,
              'GOOGLE_ANALYTICS_ACCOUNT':     settings.GOOGLE_ANALYTICS_ACCOUNT,
              'POLLDADDY_WIDGET_ID':          settings.POLLDADDY_WIDGET_ID,
              'DISQUS_SHORTNAME':             settings.DISQUS_SHORTNAME,
              'DISQUS_USE_IDENTIFIERS':       settings.DISQUS_USE_IDENTIFIERS,
              'TWITTER_USERNAME':             settings.TWITTER_USERNAME,
              'TWITTER_WIDGET_ID':            settings.TWITTER_WIDGET_ID,
              'BLOG_RSS_FEED':                settings.BLOG_RSS_FEED,
              'ENABLED_FEATURES':             settings.ENABLED_FEATURES,
+             'COUNTRY_APP':                  settings.COUNTRY_APP,
              'MAP_BOUNDING_BOX_NORTH':       settings.MAP_BOUNDING_BOX_NORTH,
              'MAP_BOUNDING_BOX_EAST':        settings.MAP_BOUNDING_BOX_EAST,
              'MAP_BOUNDING_BOX_SOUTH':       settings.MAP_BOUNDING_BOX_SOUTH,
              'MAP_BOUNDING_BOX_WEST':        settings.MAP_BOUNDING_BOX_WEST,
          }
      }
  
Add COUNTRY_APP to settings exposed to the templates
## Code Before:
from django.conf import settings
import logging

def add_settings( request ):
    """Add some selected settings values to the context"""
    return {
        'settings': {
            'STAGING':                      settings.STAGING,
            'STATIC_GENERATION_NUMBER':     settings.STATIC_GENERATION_NUMBER,
            'GOOGLE_ANALYTICS_ACCOUNT':     settings.GOOGLE_ANALYTICS_ACCOUNT,
            'POLLDADDY_WIDGET_ID':          settings.POLLDADDY_WIDGET_ID,
            'DISQUS_SHORTNAME':             settings.DISQUS_SHORTNAME,
            'DISQUS_USE_IDENTIFIERS':       settings.DISQUS_USE_IDENTIFIERS,
            'TWITTER_USERNAME':             settings.TWITTER_USERNAME,
            'TWITTER_WIDGET_ID':            settings.TWITTER_WIDGET_ID,
            'BLOG_RSS_FEED':                settings.BLOG_RSS_FEED,
            'ENABLED_FEATURES':             settings.ENABLED_FEATURES,
            'MAP_BOUNDING_BOX_NORTH':       settings.MAP_BOUNDING_BOX_NORTH,
            'MAP_BOUNDING_BOX_EAST':        settings.MAP_BOUNDING_BOX_EAST,
            'MAP_BOUNDING_BOX_SOUTH':       settings.MAP_BOUNDING_BOX_SOUTH,
            'MAP_BOUNDING_BOX_WEST':        settings.MAP_BOUNDING_BOX_WEST,
        }
    }

## Instruction:
Add COUNTRY_APP to settings exposed to the templates
## Code After:
from django.conf import settings
import logging

def add_settings( request ):
    """Add some selected settings values to the context"""
    return {
        'settings': {
            'STAGING':                      settings.STAGING,
            'STATIC_GENERATION_NUMBER':     settings.STATIC_GENERATION_NUMBER,
            'GOOGLE_ANALYTICS_ACCOUNT':     settings.GOOGLE_ANALYTICS_ACCOUNT,
            'POLLDADDY_WIDGET_ID':          settings.POLLDADDY_WIDGET_ID,
            'DISQUS_SHORTNAME':             settings.DISQUS_SHORTNAME,
            'DISQUS_USE_IDENTIFIERS':       settings.DISQUS_USE_IDENTIFIERS,
            'TWITTER_USERNAME':             settings.TWITTER_USERNAME,
            'TWITTER_WIDGET_ID':            settings.TWITTER_WIDGET_ID,
            'BLOG_RSS_FEED':                settings.BLOG_RSS_FEED,
            'ENABLED_FEATURES':             settings.ENABLED_FEATURES,
            'COUNTRY_APP':                  settings.COUNTRY_APP,
            'MAP_BOUNDING_BOX_NORTH':       settings.MAP_BOUNDING_BOX_NORTH,
            'MAP_BOUNDING_BOX_EAST':        settings.MAP_BOUNDING_BOX_EAST,
            'MAP_BOUNDING_BOX_SOUTH':       settings.MAP_BOUNDING_BOX_SOUTH,
            'MAP_BOUNDING_BOX_WEST':        settings.MAP_BOUNDING_BOX_WEST,
        }
    }
