On Tue, Aug 19, 2014 at 8:14 AM, Philipp wrote:
> [...]
>
> This is my urls.py file:
>
> urlpatterns = patterns('',
> url(r'^(?P[\w\-]+)?', ArticleView.as_view(),
> name='article-by-slug'),
> )
>
> [...]
reverse('article_app:article-by-slug', kwargs={'slug': a.slug})
Try with::
reve
Hi everyone,
I've created a django CMS apphook. Unfortunately I'm not able to reverse
apphook urls using the Python shell.
The cms_app.py file looks like:
class ArticleApp (CMSApp):
name = _('Article App')
app_name = 'article_app'
urls = ['article.urls']
apphook_pool.register(Arti
2 matches
Mail list logo