  
  
  # Model for issue #324
  class BlankFieldModel(RESTFrameworkModel):
      title = models.CharField(max_length=100, blank=True, null=True)
  
  
  # Model for issue #380
  class OptionalRelationModel(RESTFrameworkModel):
      other = models.ForeignKey('OptionalRelationModel', blank=True, null=True)
 
</s> remove     some_choices = ((1,'A'),(2,'B'),(3,'C'))
 </s> add     some_choices = ((1, 'A'), (2, 'B'), (3, 'C')) </s> remove         for k,v in kwargs.iteritems():
 </s> add         for k, v in kwargs.iteritems(): </s> remove         for k,v in self._original_settings.iteritems():
 </s> add         for k, v in self._original_settings.iteritems():
    title = models.CharField(max_length=100, blank=True, null=False)
  
  
  # Model for issue #324
  class BlankFieldModel(RESTFrameworkModel):
    title = models.CharField(max_length=100, blank=True, null=False)
  
  
  # Model for issue #380
  class OptionalRelationModel(RESTFrameworkModel):
      other = models.ForeignKey('OptionalRelationModel', blank=True, null=True)
keep keep keep keep replace keep keep keep keep keep
 urls, patterns, include imports move to compat to support incoming 1.3 thru 1.6 import compatability 
rest_framework/tests/models.py