def elephantblog_entry_url_app(self):
    from feincms.apps import app_reverse
    return app_reverse('elephantblog_entry_detail', 'elephantblog', kwargs={
        'year': self.published_on.strftime('%Y'),
        'month': self.published_on.strftime('%m'),
        'day': self.published_on.strftime('%d'),
        'slug': self.slug,
    })
Exemple #2
0
 def get_absolute_url(self):
     return app_reverse('products_detail',
                        'products.urls',
                        kwargs={
                            'slug': (self.slug),
                        })
Exemple #3
0
 def get_absolute_url(self):
   return app_reverse('news_detail', 'news.urls', kwargs={
        'slug': self.slug,
     })
def elephantblog_category_url_app(self):
    from feincms.apps import app_reverse
    return app_reverse('elephantblog_category_detail', 'elephantblog', kwargs={
        'slug': self.translation.slug,
    })