          abstract = True
  
  
  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')
  
 
</s> remove     title = models.CharField(max_length=100, blank=True, null=True)
 </s> add     title = models.CharField(max_length=100, blank=True, null=False) </s> remove from django.conf.urls.defaults import patterns, url
 </s> add from rest_framework.compat import patterns, url
    some_choices = ((1, 'A'), (2, 'B'), (3, 'C'))
          abstract = True
  
  
  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')
  
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