  
      def save(self, *args, **kwargs):
          self.slug = slugify(self.title)
          super(self.__class__, self).save(*args, **kwargs)
  
  
  class Comment(models.Model):
      blogpost = models.ForeignKey(BlogPost, editable=False, related_name='comments')
 
</s> remove     foo = models.BooleanField(required=False)
 </s> add     foo = models.BooleanField() </s> remove     foo = forms.BooleanField()
 </s> add     foo = forms.BooleanField(required=False)
        for obj in self.__class__.objects.order_by('-pk')[10:]:
            obj.delete()

  
      def save(self, *args, **kwargs):
          self.slug = slugify(self.title)
          super(self.__class__, self).save(*args, **kwargs)
        for obj in self.__class__.objects.order_by('-pk')[10:]:
            obj.delete()

  
  
  class Comment(models.Model):
      blogpost = models.ForeignKey(BlogPost, editable=False, related_name='comments')
keep keep keep add keep keep keep keep
 BlogPosts > 10 rotation implemeneted
Latest Modelresource example is broken. Required attribute should be set to form, not model. Is fixed. 
examples/blogpost/models.py