urls.py 329 Bytes
Newer Older
luxcem's avatar
luxcem committed
1
from django.conf.urls import url
cynddl's avatar
cynddl committed
2
from rp.views.articles import ArticleListFlux
luxcem's avatar
luxcem committed
3 4

urlpatterns = [
luxcem's avatar
luxcem committed
5
    url(
cynddl's avatar
cynddl committed
6 7
        r"^article/list/(?P<filter_view>\w+)",
        ArticleListFlux.as_view(),
luxcem's avatar
luxcem committed
8 9
        name="article-list"
    ),
10 11 12 13 14
    url(
        r"^article/list",
        ArticleListFlux.as_view(),
        name="article-list"
    ),
luxcem's avatar
luxcem committed
15
]