Fix more broken base_url links

Refs #1519, #838
This commit is contained in:
Simon Willison 2021-11-20 11:03:08 -08:00
commit 08947fa764
3 changed files with 7 additions and 6 deletions

View file

@ -839,7 +839,7 @@ class TableView(RowTableShared):
else:
added_args = {"_next": next_value}
next_url = self.ds.absolute_url(
request, path_with_replaced_args(request, added_args)
request, self.ds.urls.path(path_with_replaced_args(request, added_args))
)
rows = rows[:page_size]