- return HttpResponse(self.entry_template.django_template.render(RequestContext(request, {'blog': self.blog, 'entry': entry})), mimetype=self.entry_template.mimetype)
\ No newline at end of file
+ return HttpResponse(self.entry_template.django_template.render(RequestContext(request, {'blog': self.blog, 'entry': entry})), mimetype=self.entry_template.mimetype)
+
+
+class Newsletter(Entity, Titled):
+ pass
+
+
+class NewsletterArticle(Entity, Titled):
+ newsletter = models.ForeignKey(Newsletter, related_name='stories')
+ authors = models.ManyToManyField(getattr(settings, 'PHILO_PERSON_MODULE', 'auth.User'), related_name='newsstories')
+ date = models.DateTimeField(default=datetime.now)
+ lede = models.TextField(null=True, blank=True)
+ full_text = models.TextField()
+
+
+register_value_model(NewsletterArticle)
\ No newline at end of file