code: def price_value_renderer(value, currency=None, **options):
      
      if not currency:
          currency = getattr(settings, 'CURRENCY', 'USD')
      return format_currency(value, currency, locale=utils.get_current_locale())
docs: Format price value, with current locale and CURRENCY in settings