mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 13:17:50 +02:00
Add countries and scales pages
This commit is contained in:
@@ -6,6 +6,8 @@ from portal.views import (
|
||||
GetRollingStock,
|
||||
GetConsist,
|
||||
Consists,
|
||||
Companies,
|
||||
Scales,
|
||||
)
|
||||
|
||||
urlpatterns = [
|
||||
@@ -32,6 +34,18 @@ urlpatterns = [
|
||||
GetConsist.as_view(),
|
||||
name="consist_pagination",
|
||||
),
|
||||
path("companies", Companies.as_view(), name="companies"),
|
||||
path(
|
||||
"companies/<int:page>",
|
||||
Companies.as_view(),
|
||||
name="companies_pagination"
|
||||
),
|
||||
path("scales", Scales.as_view(), name="scales"),
|
||||
path(
|
||||
"scales/<int:page>",
|
||||
Scales.as_view(),
|
||||
name="scales_pagination"
|
||||
),
|
||||
path(
|
||||
"<str:_filter>/<str:search>",
|
||||
GetHomeFiltered.as_view(),
|
||||
|
Reference in New Issue
Block a user