summaryrefslogtreecommitdiff
path: root/app/posts/urls/trip_urls.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2023-05-28 09:40:10 -0500
committerluxagraf <sng@luxagraf.net>2023-05-28 09:40:10 -0500
commit7ba1f6de4a39d294594dc1e93a58400f6991398f (patch)
tree7688589c7eba6dbb3a70e5ee427407f63d31842a /app/posts/urls/trip_urls.py
parent0abca069496494707496fe4e129c92e18fac81e2 (diff)
jrnl: finished up trip section
Diffstat (limited to 'app/posts/urls/trip_urls.py')
-rw-r--r--app/posts/urls/trip_urls.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/app/posts/urls/trip_urls.py b/app/posts/urls/trip_urls.py
index 91d3c33..7e9c95f 100644
--- a/app/posts/urls/trip_urls.py
+++ b/app/posts/urls/trip_urls.py
@@ -7,9 +7,19 @@ app_name = "trips"
urlpatterns = [
path(
+ r'<str:slug>',
+ views.TripDetailView.as_view(),
+ name="detail"
+ ),
+ path(
+ r'<int:page>/',
+ views.TripListView.as_view(),
+ name="list"
+ ),
+ path(
r'',
views.TripListView.as_view(),
{'page':1},
- name="trip-list"
+ name="list"
),
]