entry_permalink_base = models.CharField(max_length=255, blank=False, default='entries')
tag_permalink_base = models.CharField(max_length=255, blank=False, default='tags')
feed_suffix = models.CharField(max_length=255, blank=False, default=FeedMultiViewMixin.feed_suffix)
- feeds_enabled = models.BooleanField()
+ feeds_enabled = models.BooleanField()
+ list_var = 'entries'
def __unicode__(self):
return u'BlogView for %s' % self.blog.title
feed_suffix = models.CharField(max_length=255, blank=False, default=FeedMultiViewMixin.feed_suffix)
feeds_enabled = models.BooleanField()
+ list_var = 'articles'
@property
def feed_title(self):
article = articles.get(slug=slug)
except:
raise Http404
- context = {}
+ context = self.get_context()
context.update(extra_context or {})
- context.update({'newsletter': self.newsletter, 'article': article})
+ context.update({'article': article})
return self.article_page.render_to_response(node, request, extra_context=context)
def issue_archive_view(self, request, node=None, extra_context=None):