      text = models.TextField()
      blog_post = models.ForeignKey(BlogPost)
  
  
  class Person(RESTFrameworkModel):
      name = models.CharField(max_length=10)
      age = models.IntegerField(null=True, blank=True)
  
 
</s> remove     url(r'^comments/$', BlogPostCommentListCreate.as_view(), name='blogpostcomment-list')
 </s> add     url(r'^comments/$', BlogPostCommentListCreate.as_view(), name='blogpostcomment-list'),
    url(r'^albums/(?P<title>\w[\w-]*)/$', AlbumDetail.as_view(), name='album-detail'),
    url(r'^photos/$', PhotoListCreate.as_view(), name='photo-list') </s> remove from rest_framework.tests.models import Anchor, BasicModel, ManyToManyModel, BlogPost, BlogPostComment
 </s> add from rest_framework.tests.models import Anchor, BasicModel, ManyToManyModel, BlogPost, BlogPostComment, Album, Photo
class Album(RESTFrameworkModel):
    title = models.CharField(max_length=100, unique=True)


class Photo(RESTFrameworkModel):
    description = models.TextField()
    album = models.ForeignKey(Album)


      text = models.TextField()
      blog_post = models.ForeignKey(BlogPost)
  
  
class Album(RESTFrameworkModel):
    title = models.CharField(max_length=100, unique=True)


class Photo(RESTFrameworkModel):
    description = models.TextField()
    album = models.ForeignKey(Album)


  class Person(RESTFrameworkModel):
      name = models.CharField(max_length=10)
      age = models.IntegerField(null=True, blank=True)
  
keep keep keep add keep keep keep keep
 added testcase for custom slug field in hyperlinkedrelatedfield 
rest_framework/tests/models.py