      @register.tag('static')
      def do_static(parser, token):
          return StaticFilesNode.handle_token(parser, token)
  
  except:
      try:  # Django 1.4
          from django.contrib.staticfiles.storage import staticfiles_storage
  
          @register.simple_tag
          def static(path):
 
</s> remove     except:  # Django 1.3
 </s> add     except ImportError:  # Django 1.3 </s> remove except:
 </s> add except ImportError: </s> remove except:
 </s> add except ImportError: </s> remove         except:
 </s> add         except Exception:
except ImportError:
      @register.tag('static')
      def do_static(parser, token):
          return StaticFilesNode.handle_token(parser, token)
  
except ImportError:
      try:  # Django 1.4
          from django.contrib.staticfiles.storage import staticfiles_storage
  
          @register.simple_tag
          def static(path):
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