  
  
  class Anchor(RESTFrameworkModel):
      text = models.CharField(max_length=100, default='anchor')
  
  
  class BasicModel(RESTFrameworkModel):
      text = models.CharField(max_length=100)
 
</s> remove from rest_framework.tests.models import (Album, ActionItem, Anchor, BasicModel,
 </s> add from rest_framework.tests.models import (HasPositiveIntegerAsChoice, Album, ActionItem, Anchor, BasicModel,
class HasPositiveIntegerAsChoice(RESTFrameworkModel):
    some_choices = ((1,'A'),(2,'B'),(3,'C'))
    some_integer = models.PositiveIntegerField(choices=some_choices)

  
  
class HasPositiveIntegerAsChoice(RESTFrameworkModel):
    some_choices = ((1,'A'),(2,'B'),(3,'C'))
    some_integer = models.PositiveIntegerField(choices=some_choices)

  class Anchor(RESTFrameworkModel):
      text = models.CharField(max_length=100, default='anchor')
  
  
  class BasicModel(RESTFrameworkModel):
      text = models.CharField(max_length=100)
keep add keep keep keep keep keep keep
 Added test for "positive_integer in choices tuple does not get parsed if not string".

Signed-off-by: Joel Marcotte <skaner@gmail.com> 
rest_framework/tests/models.py