from django.urls import path from portal.views import GetHome, GetHomeFiltered, GetRollingStock urlpatterns = [ path("", GetHome.as_view(), name='index'), path("", GetHome.as_view(), name='index_pagination'), path( "search", GetHomeFiltered.as_view(http_method_names=['post']), name='index_filtered' ), path("search/", GetHomeFiltered.as_view(), name='index_filtered'), path("search//", GetHomeFiltered.as_view(), name='index_filtered_pagination'), path("", GetRollingStock.as_view(), name='rolling_stock'), ]