mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 13:17:50 +02:00
Add support for manufacturer filters
This commit is contained in:
@@ -8,6 +8,7 @@ from portal.views import (
|
||||
GetConsist,
|
||||
Consists,
|
||||
Companies,
|
||||
Manufacturers,
|
||||
Scales,
|
||||
)
|
||||
|
||||
@@ -40,6 +41,16 @@ urlpatterns = [
|
||||
Companies.as_view(),
|
||||
name="companies_pagination",
|
||||
),
|
||||
path(
|
||||
"manufacturers/<str:category>",
|
||||
Manufacturers.as_view(),
|
||||
name="manufacturers"
|
||||
),
|
||||
path(
|
||||
"manufacturers/<str:category>/<int:page>",
|
||||
Manufacturers.as_view(),
|
||||
name="manufacturers_pagination",
|
||||
),
|
||||
path("scales", Scales.as_view(), name="scales"),
|
||||
path("scales/<int:page>", Scales.as_view(), name="scales_pagination"),
|
||||
path(
|
||||
|
Reference in New Issue
Block a user