From 7ba1f6de4a39d294594dc1e93a58400f6991398f Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sun, 28 May 2023 09:40:10 -0500 Subject: jrnl: finished up trip section --- app/posts/urls/trip_urls.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'app/posts/urls/trip_urls.py') 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 @@ -6,10 +6,20 @@ from ..views import trip_views as views app_name = "trips" urlpatterns = [ + path( + r'', + views.TripDetailView.as_view(), + name="detail" + ), + path( + r'/', + views.TripListView.as_view(), + name="list" + ), path( r'', views.TripListView.as_view(), {'page':1}, - name="trip-list" + name="list" ), ] -- cgit v1.2.3-70-g09d2