Skip to content
This repository was archived by the owner on Apr 17, 2021. It is now read-only.

Commit e38d9ee

Browse files
myasuijmcclell
authored andcommitted
fix int encode
1 parent 0595ff5 commit e38d9ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bootstrap_pagination/templatetags/bootstrap_pagination.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def get_page_url(page_num, current_app, url_view_name, url_extra_args, url_extra
8383
url = ''
8484
url_get_params = url_get_params or QueryDict(url)
8585
url_get_params = url_get_params.copy()
86-
url_get_params[url_param_name] = page_num
86+
url_get_params[url_param_name] = str(page_num)
8787

8888
if len(url_get_params) > 0:
8989
if not isinstance(url_get_params, QueryDict):

0 commit comments

Comments
 (0)