@register.simple_tag(name='platform_name')
def platform_name():
 return configuration_helpers.get_value('platform_name', settings.PLATFORM_NAME)

@ register . simple_tag ( name = 'platform_name' ) def platform_name ( ) : return configuration_helpers . get_value ( 'platform_name' , settings . PLATFORM_NAME )
django template tag that outputs the current platform name: {% platform_name %} .