      text = models.TextField()
      blog_post = models.ForeignKey(BlogPost)
  
  
  class Album(RESTFrameworkModel):
      title = models.CharField(max_length=100, unique=True)
  
  
 
</s>
class BlogPostRelatedComment(RESTFrameworkModel):
    text = models.TextField()
    blog_post = models.ForeignKey(BlogPost, related_name="comments")


      text = models.TextField()
      blog_post = models.ForeignKey(BlogPost)
  
  
class BlogPostRelatedComment(RESTFrameworkModel):
    text = models.TextField()
    blog_post = models.ForeignKey(BlogPost, related_name="comments")


  class Album(RESTFrameworkModel):
      title = models.CharField(max_length=100, unique=True)
  
  
keep keep keep add keep keep keep keep
 ManyPrimaryKeyRelatedField now supports create for one-to-many rel
rest_framework/tests/models.py