Skip to content
Snippets Groups Projects
Commit b0165c6e authored by Parbhat Puri's avatar Parbhat Puri Committed by Fredrik Jonsson
Browse files

use feeds module

parent 846e01c1
No related branches found
No related tags found
No related merge requests found
File moved
from django.urls import include, path
from .news import views as news_views
from .search import views as search_views
from .mailchimp import urls as newsletter_urls
from .news import feeds as news_feeds
urlpatterns = [
path('search/', search_views.search, name='search'),
path('news/feed/', news_views.NewsFeed(), name='news_feed'),
path('news/<int:news_type>/feed/', news_views.NewsTypeFeed(), name='news_types_feed'),
path('news/feed/', news_feeds.NewsFeed(), name='news_feed'),
path('news/<int:news_type>/feed/', news_feeds.NewsTypeFeed(), name='news_type_feed'),
path('newsletter/', include(newsletter_urls))
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment