Example #1
0
 def feed_url(self, obj):
     if self.any_language:
         return add_current_root(
             reverse('%sblog_rss_any_author' % self.language_namespace,
                     kwargs={'author': self.author}))
     return add_current_root(
         reverse('%sblog_rss_author' % self.language_namespace,
                 kwargs={'author': self.author}))
Example #2
0
 def feed_url(self, obj):
     if self.any_language:
         return add_current_root(
             reverse('%sblog_rss_any_tagged' % self.language_namespace,
                     kwargs={'tag': self.tag}))
     return add_current_root(
         reverse('%sblog_rss_tagged' % self.language_namespace,
                 kwargs={'tag': self.tag}))
Example #3
0
 def feed_url(self, obj):
     if self.any_language:
         return add_current_root(reverse('%sblog_rss_any' %
                                         self.language_namespace,
                                         kwargs={
                     'blog_slug': self.blog_slug,
                     }))
     return add_current_root(reverse('%sblog_rss' %
                                     self.language_namespace,
                                     kwargs={
                 'blog_slug': self.blog_slug,
                 }))
Example #4
0
 def feed_url(self, obj):
     if self.any_language:
         return add_current_root(
             reverse('%sblog_rss_any' % self.language_namespace,
                     kwargs={
                         'blog_slug': self.blog_slug,
                     }))
     return add_current_root(
         reverse('%sblog_rss' % self.language_namespace,
                 kwargs={
                     'blog_slug': self.blog_slug,
                 }))
Example #5
0
 def link(self, obj):
     return add_current_root(
         reverse('%sblog_archive_tagged' % self.language_namespace,
                 kwargs={
                     'blog_slug': self.blog_slug,
                     'tag': self.tag
                 }))
Example #6
0
 def link(self, obj):
     return add_current_root(
         reverse('%sblog_archive_author' % self.language_namespace,
                 kwargs={
                     'blog_slug': self.blog_slug,
                     'author': self.author
                 }))
Example #7
0
 def feed_url(self, obj):
     if self.any_language:
         return add_current_root(reverse('%sblog_rss_any' % self.language_namespace))
     return add_current_root(reverse('%sblog_rss' % self.language_namespace))
Example #8
0
 def link(self, obj):
     return add_current_root(reverse('%sblog_archive_author' % self.language_namespace, kwargs={'author': self.author}))
Example #9
0
 def feed_url(self, obj):
     if self.any_language:
         return add_current_root(reverse('%sblog_rss_any_author' % self.language_namespace, kwargs={'author': self.author}))
     return add_current_root(reverse('%sblog_rss_author' % self.language_namespace, kwargs={'author': self.author}))
Example #10
0
 def link(self, obj):
     return add_current_root(reverse('%sblog_archive_index' %
                                     self.language_namespace,
                                     kwargs={
                 'blog_slug': self.blog_slug,
                 }))
Example #11
0
 def link(self, obj):
     return add_current_root(reverse('blog_archive_author', kwargs={'slug': self.author}))
Example #12
0
 def link(self, obj):
     return add_current_root(
         reverse('blog_archive_tagged', kwargs={'tag': self.tag}))
Example #13
0
 def item_link(self, obj):
     return add_current_root(obj.get_absolute_url())
Example #14
0
 def link(self, obj):
     return add_current_root(reverse('blog_archive_index'))
Example #15
0
 def link(self, obj):
     return add_current_root(reverse('%sblog_archive_index' % self.language_namespace))
Example #16
0
 def feed_url(self, obj):
     if self.any_language:
         return add_current_root(reverse('%sblog_rss_any_tagged' % self.language_namespace, kwargs={'tag': self.tag}))
     return add_current_root(reverse('%sblog_rss_tagged' % self.language_namespace, kwargs={'tag': self.tag}))
Example #17
0
 def link(self, obj):
     return add_current_root(
         reverse('%sblog_archive_index' % self.language_namespace))
Example #18
0
 def feed_url(self, obj):
     if self.any_language:
         return add_current_root(
             reverse('%sblog_rss_any' % self.language_namespace))
     return add_current_root(reverse('%sblog_rss' %
                                     self.language_namespace))
Example #19
0
 def feed_url(self, obj):
     if self.any_language:
         return add_current_root(reverse('blog_rss_any'))
     return add_current_root(reverse('blog_rss'))
Example #20
0
 def link(self, obj):
     return add_current_root(reverse('blog_archive_tagged', kwargs={'tag': self.tag}))
Example #21
0
 def link(self, obj):
     return add_current_root(reverse('blog_archive_index'))
Example #22
0
 def item_link(self, obj):
     return add_current_root(obj.get_absolute_url())
Example #23
0
 def link(self, obj):
     return add_current_root(
         reverse('blog_archive_author', kwargs={'slug': self.author}))
Example #24
0
 def link(self, obj):
     return add_current_root(reverse('%sblog_archive_tagged' % self.language_namespace, kwargs={'tag': self.tag}))
Example #25
0
 def feed_url(self, obj):
     if self.any_language:
         return add_current_root(reverse('blog_rss_any'))
     return add_current_root(reverse('blog_rss'))