  Helpers for dealing with HTML input.
  """
  
  def is_html_input(dictionary):
      # MultiDict type datastructures are used to represent HTML form input,
      # which may have more than one value for each key.
      return hasattr(dictionary, 'getlist')
 
</s> remove         super(ChoiceField, self).__init__(*args, **kwargs)
 </s> add         super(ChoiceField, self).__init__(**kwargs) </s> remove from django.core.exceptions import ValidationError
 </s> add  </s> remove             #'put_form': self.get_rendered_html_form(view, 'PUT', request),
            #'post_form': self.get_rendered_html_form(view, 'POST', request),
            #'delete_form': self.get_rendered_html_form(view, 'DELETE', request),
            #'options_form': self.get_rendered_html_form(view, 'OPTIONS', request),
 </s> add             # 'put_form': self.get_rendered_html_form(view, 'PUT', request),
            # 'post_form': self.get_rendered_html_form(view, 'POST', request),
            # 'delete_form': self.get_rendered_html_form(view, 'DELETE', request),
            # 'options_form': self.get_rendered_html_form(view, 'OPTIONS', request), </s> remove             files = None
 </s> add             # files = None </s> remove     def __init__(self, *args, **kwargs):
 </s> add     def __init__(self, **kwargs):
import re

  Helpers for dealing with HTML input.
  """
import re

  
  def is_html_input(dictionary):
      # MultiDict type datastructures are used to represent HTML form input,
      # which may have more than one value for each key.
      return hasattr(dictionary, 'getlist')
keep add keep keep keep keep keep
 Add relations and get tests running 
rest_framework/utils/html.py