diff options
author | luxagraf <sng@luxagraf> | 2021-03-23 21:52:40 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf> | 2021-03-23 21:52:40 -0400 |
commit | 70f50c11ec68fc1382d39108ed7da0d2be1ae503 (patch) | |
tree | 0870302fb7ca8cb2016899ee109704ba70ca3875 /app/posts/urls | |
parent | cb7c6ae216ecd4eab95b48af8d8cc0ca15c84379 (diff) |
posts: added an issue field for newsletters
Diffstat (limited to 'app/posts/urls')
-rw-r--r-- | app/posts/urls/friends_urls.py | 20 |
1 files changed, 20 insertions, 0 deletions
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'<str:slug>', + views.FriendsDetailView.as_view(), + name="friends-detail" + ), + path( + r'', + views.FriendsListView.as_view(), + {'page':1}, + name="friends-base" + ), +] |