      """
      def __init__(self, *args, **kwargs):
          try:
              self.model_field = kwargs.pop('model_field')
          except:
              raise ValueError("ModelField requires 'model_field' kwarg")
  
          self.min_length = kwargs.pop('min_length',
                              getattr(self.model_field, 'min_length', None))
          self.max_length = kwargs.pop('max_length',
 
</s> remove         except:
 </s> add         except KeyError: </s> remove         except:
 </s> add         except Exception: </s> remove         except:
 </s> add         except Exception: </s> remove     except:
 </s> add     except NoReverseMatch: </s> remove     except:
 </s> add     except NoReverseMatch:
        except KeyError:
      """
      def __init__(self, *args, **kwargs):
          try:
              self.model_field = kwargs.pop('model_field')
        except KeyError:
              raise ValueError("ModelField requires 'model_field' kwarg")
  
          self.min_length = kwargs.pop('min_length',
                              getattr(self.model_field, 'min_length', None))
          self.max_length = kwargs.pop('max_length',
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/fields.py