From 70f50c11ec68fc1382d39108ed7da0d2be1ae503 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Tue, 23 Mar 2021 21:52:40 -0400 Subject: posts: added an issue field for newsletters --- app/posts/urls/friends_urls.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 app/posts/urls/friends_urls.py (limited to 'app/posts/urls') diff --git a/app/posts/urls/friends_urls.py b/app/posts/urls/friends_urls.py new file mode 100644 index 0000000..2e2d220 --- /dev/null +++ b/app/posts/urls/friends_urls.py @@ -0,0 +1,20 @@ +from django.urls import path, re_path, include +from django.views.generic.base import RedirectView + +from ..views import friends_views as views + +app_name = "range" + +urlpatterns = [ + path( + r'', + views.FriendsDetailView.as_view(), + name="friends-detail" + ), + path( + r'', + views.FriendsListView.as_view(), + {'page':1}, + name="friends-base" + ), +] -- cgit v1.2.3-70-g09d2