-class TitledContent(models.Model):
- title = models.CharField(max_length=255)
- slug = models.SlugField()
+class Blog(Entity, Titled):
+ pass
+
+
+class BlogEntry(Entity, Titled):
+ blog = models.ForeignKey(Blog, related_name='entries')
+ author = models.ForeignKey(getattr(settings, 'PHILO_PERSON_MODULE', 'auth.User'), related_name='blogentries')
+ date = models.DateTimeField(default=datetime.now)