From ccf5541458db1cc4c1b46de95ee877ac67a0684a Mon Sep 17 00:00:00 2001 From: luxagraf Date: Fri, 26 May 2023 09:53:56 -0500 Subject: posts: added the concept of trips and a template for displaying them --- app/posts/urls/trip_urls.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 app/posts/urls/trip_urls.py (limited to 'app/posts/urls') diff --git a/app/posts/urls/trip_urls.py b/app/posts/urls/trip_urls.py new file mode 100644 index 0000000..91d3c33 --- /dev/null +++ b/app/posts/urls/trip_urls.py @@ -0,0 +1,15 @@ +from django.urls import path, re_path, include +from django.views.generic.base import RedirectView + +from ..views import trip_views as views + +app_name = "trips" + +urlpatterns = [ + path( + r'', + views.TripListView.as_view(), + {'page':1}, + name="trip-list" + ), +] -- cgit v1.2.3-70-g09d2