limit URLs to their actual name
authorFrédéric Péters <fpeters@0d.be>
Thu, 7 May 2020 08:48:56 +0000 (10:48 +0200)
committerFrédéric Péters <fpeters@0d.be>
Thu, 7 May 2020 08:48:56 +0000 (10:48 +0200)
panikweb/urls.py

index 8ca2e5b..717314e 100644 (file)
@@ -38,13 +38,13 @@ urlpatterns = [
     url(r'^actus/archives/$', search.newsArchives, name='newsArchives'),
     url(r'^actus/(?P<slug>[\w,-]+)$', views.newsitemview, name='newsitem-view'),
 
-    url(r'^party', views.party, name='party'),
+    url(r'^party$', views.party, name='party'),
 
-    url(r'^recherche/', search.view, name='search'),
+    url(r'^recherche/$', search.view, name='search'),
 
-    url(r'^actus.rss', views.rss_news_feed, name='rss-feed'),
-    url(r'^actus.atom', views.atom_news_feed, name='atom-feed'),
-    url(r'^podcasts.rss', views.podcasts_feed, name='podcasts-feed'),
+    url(r'^actus.rss$', views.rss_news_feed, name='rss-feed'),
+    url(r'^actus.atom$', views.atom_news_feed, name='atom-feed'),
+    url(r'^podcasts.rss$', views.podcasts_feed, name='podcasts-feed'),
 
     url(r'^newsletter/', include('newsletter.urls')),