diff options
author | luxagraf <sng@luxagraf.net> | 2023-05-26 09:53:56 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2023-05-26 09:53:56 -0500 |
commit | ccf5541458db1cc4c1b46de95ee877ac67a0684a (patch) | |
tree | e9719ece7fdef9c89b666c2253015531a7e5e999 /app/posts/urls | |
parent | 28a613a8efda914eb5abb1d3d5551aa8be83a620 (diff) |
posts: added the concept of trips and a template for displaying them
Diffstat (limited to 'app/posts/urls')
-rw-r--r-- | app/posts/urls/trip_urls.py | 15 |
1 files changed, 15 insertions, 0 deletions
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" + ), +] |