old_contents: from django.conf import settings
  
  def newman_media(request):
      """
      Inject NEWMAN_MEDIA_URL to template. Use NEWMAN_MEDIA_PREFIX value from
      settings, if not available, use MEDIA_URL + 'newman_media/' combination
      """
      uri = getattr(settings, 'NEWMAN_MEDIA_PREFIX', None)
      debug = settings.DEBUG
      if not uri:
          uri = getattr(settings, 'MEDIA_URL') + 'newman_media/'
      return {
          'NEWMAN_MEDIA_URL' : uri,
          'DEBUG': False
      }
  
new_contents: from django.conf import settings
  
  def newman_media(request):
      """
      Inject NEWMAN_MEDIA_URL to template. Use NEWMAN_MEDIA_PREFIX value from
      settings, if not available, use MEDIA_URL + 'newman_media/' combination
      """
      uri = getattr(settings, 'NEWMAN_MEDIA_PREFIX', None)
      debug = settings.DEBUG
      if not uri:
          uri = getattr(settings, 'MEDIA_URL') + 'newman_media/'
      return {
          'NEWMAN_MEDIA_URL' : uri,
          'DEBUG': settings.DEBUG
      }
  
subject: Fix DEBUG var.