              using staticfiles' storage backend
              """
              return staticfiles_storage.url(path)
  
      except:  # Django 1.3
          from urlparse import urljoin
          from django import template
          from django.templatetags.static import PrefixNode
  
          class StaticNode(template.Node):
 
</s> remove from django.core.exceptions import ObjectDoesNotExist, ValidationError
 </s> add from django.core.exceptions import ObjectDoesNotExist, ValidationError, NoReverseMatch </s> remove except:
 </s> add except ImportError: </s> remove except:
 </s> add except ImportError: </s> remove except:
 </s> add except ImportError:
    except ImportError:  # Django 1.3
              using staticfiles' storage backend
              """
              return staticfiles_storage.url(path)
  
    except ImportError:  # Django 1.3
          from urlparse import urljoin
          from django import template
          from django.templatetags.static import PrefixNode
  
          class StaticNode(template.Node):
keep keep keep keep replace keep keep keep keep keep
 Purge naked excepts.

Most of these had obvious exceptions which would be thrown. Some I'm not
sure about but they should at least catch only Exception so as not to
ignore SystemExit and other inappropriate Error classes. 
rest_framework/templatetags/rest_framework.py