  
  # TODO: _IgnoreFieldException
  
  def _model_to_dict(instance, resource=None):
      """
      Given a model instance, return a ``dict`` representing the model.
      
 
</s> remove     def get_bound_form(self, content=None):
 </s> add     def get_bound_form(self, data=None, files=None): </s> remove     def put(self, request, auth, content, key):
        """Update/create a stored object, by pickling the request content to a locally stored file."""
 </s> add     def put(self, request, key):
        """
        Update/create a stored object, by pickling the request content to a locally stored file.
        """ </s> remove  
 </s> add     # Auto-register new ModelResource classes into _model_to_resource 
    #__metaclass__ = _RegisterModelResource

# Map model classes to resource classes
#_model_to_resource = {}


  
  # TODO: _IgnoreFieldException
  
# Map model classes to resource classes
#_model_to_resource = {}


  def _model_to_dict(instance, resource=None):
      """
      Given a model instance, return a ``dict`` representing the model.
      
keep keep add keep keep keep keep
 Fixing some of the last blocking issues 
djangorestframework/resources.py