@@ -285,7 +285,7 @@ def render(self, context):
285285def bootstrap_paginate (parser , token ):
286286 """
287287 Renders a Page object as a Twitter Bootstrap styled pagination bar.
288- Compatible with Bootstrap 3.x only.
288+ Compatible with Bootstrap 3.x and 4.x only.
289289
290290 Example::
291291
@@ -323,22 +323,22 @@ def bootstrap_paginate(parser, token):
323323 last_label - The text to display for the last page link. Defaults to
324324 "»"
325325
326- url_name - The named URL to use. Defaults to None. If None, then the
327- default template simply appends the url parameter as a
328- relative URL link, eg: <a href="?page=1">1</a>
326+ url_view_name - The named URL to use. Defaults to None. If None, then the
327+ default template simply appends the url parameter as a
328+ relative URL link, eg: <a href="?page=1">1</a>
329329
330330 url_param_name - The name of the parameter to use in the URL. If
331- url_name is set to None, this string is used as the
331+ url_view_name is set to None, this string is used as the
332332 parameter name in the relative URL path. If a URL
333333 name is specified, this string is used as the
334334 parameter name passed into the reverse() method for
335335 the URL.
336336
337- url_extra_args - This is used only in conjunction with url_name .
337+ url_extra_args - This is used only in conjunction with url_view_name .
338338 When referencing a URL, additional arguments may be
339339 passed in as a list.
340340
341- url_extra_kwargs - This is used only in conjunction with url_name .
341+ url_extra_kwargs - This is used only in conjunction with url_view_name .
342342 When referencing a URL, additional named arguments
343343 may be passed in as a dictionary.
344344
@@ -380,7 +380,7 @@ def bootstrap_paginate(parser, token):
380380def bootstrap_pager (parser , token ):
381381 """
382382 Renders a Page object as a Twitter Bootstrap styled pager bar.
383- Compatible with Bootstrap 2.x only.
383+ Compatible with Bootstrap 2.x and 3.x only.
384384
385385 Example::
386386
@@ -398,22 +398,22 @@ def bootstrap_pager(parser, token):
398398
399399 next_title - The link title for the next link (defaults to "Next Page")
400400
401- url_name - The named URL to use. Defaults to None. If None, then the
402- default template simply appends the url parameter as a
403- relative URL link, eg: <a href="?page=1">1</a>
401+ url_view_name - The named URL to use. Defaults to None. If None, then the
402+ default template simply appends the url parameter as a
403+ relative URL link, eg: <a href="?page=1">1</a>
404404
405405 url_param_name - The name of the parameter to use in the URL. If
406- url_name is set to None, this string is used as the
406+ url_view_name is set to None, this string is used as the
407407 parameter name in the relative URL path. If a URL
408408 name is specified, this string is used as the
409409 parameter name passed into the reverse() method for
410410 the URL.
411411
412- url_extra_args - This is used only in conjunction with url_name .
412+ url_extra_args - This is used only in conjunction with url_view_name .
413413 When referencing a URL, additional arguments may be
414414 passed in as a list.
415415
416- url_extra_kwargs - This is used only in conjunction with url_name .
416+ url_extra_kwargs - This is used only in conjunction with url_view_name .
417417 When referencing a URL, additional named arguments
418418 may be passed in as a dictionary.
419419
0 commit comments