X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/f6f8274ec87a79bfbcf6af6a998e9ff79e64d160..2f7b3e87ff28392c872a0e828224d0b781297041:/contrib/penfield/models.py diff --git a/contrib/penfield/models.py b/contrib/penfield/models.py index 065d033..98dcdd5 100644 --- a/contrib/penfield/models.py +++ b/contrib/penfield/models.py @@ -383,10 +383,8 @@ class BlogView(FeedView): @property def urlpatterns(self): - urlpatterns = self.feed_patterns(r'^', 'get_all_entries', 'index_page', 'index') - - if self.feeds_enabled: - urlpatterns += self.feed_patterns(r'^%s/(?P[-\w]+[-+/\w]*)$' % self.tag_permalink_base, 'get_entries_by_tag', 'tag_page', 'get_entries_by_tag') + urlpatterns = self.feed_patterns(r'^', 'get_all_entries', 'index_page', 'index') +\ + self.feed_patterns(r'^%s/(?P[-\w]+[-+/\w]*)$' % self.tag_permalink_base, 'get_entries_by_tag', 'tag_page', 'entries_by_tag') if self.tag_archive_page: urlpatterns += patterns('',