mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 21:27:49 +02:00
Fix consists pagination and remove hardcoded urls
This commit is contained in:
@@ -22,7 +22,11 @@ urlpatterns = [
|
||||
GetHomeFiltered.as_view(),
|
||||
name="search_pagination",
|
||||
),
|
||||
path("consist", Consists.as_view(), name="consists"),
|
||||
path("consists", Consists.as_view(), name="consists"),
|
||||
path(
|
||||
"consists/<int:page>",
|
||||
Consists.as_view(), name="consists_pagination"
|
||||
),
|
||||
path("consist/<uuid:uuid>", GetConsist.as_view(), name="consist"),
|
||||
path(
|
||||
"consist/<uuid:uuid>/<int:page>",
|
||||
|
Reference in New Issue
Block a user