urls.py 415 Bytes
Newer Older
1
from django.conf.urls import url
2
from .feeds import ArticlesFeed, ArticlesTagsFeed, ArticlesSearchFeed
3 4

urlpatterns = [
5
    url(r'^$', ArticlesFeed(filter_lang='FR'), name='articles-feed'),
6
    url(r'^international$', ArticlesFeed(filter_lang='EN'), name='articles-feed-international'),
7 8
    url(r'^by-tag/(?P<filter_tag>.*)', ArticlesTagsFeed()),
    url(r'^search/(?P<search_keywords>.*)', ArticlesSearchFeed())
9
]