#19188: Add 'page_kwarg' attribute to `MultipleObjectMixin`, removing hardcoded
"page"
--------------------------------------+--------------------
     Reporter:  tomchristie           |      Owner:  nobody
         Type:  Cleanup/optimization  |     Status:  new
    Component:  Generic views         |    Version:  1.4
     Severity:  Normal                |   Keywords:
 Triage Stage:  Unreviewed            |  Has patch:  1
Easy pickings:  0                     |      UI/UX:  0
--------------------------------------+--------------------
 At the moment it's awkward to modify the generic views to use a custom
 name for the 'page' query parameter.
 This fix brings the behavior more in line with other generic view
 properties.

 Use cases:

 * Sites in a non-english language may want the query parameter to read as
 eg. 'pagina=4', not 'page=4'
 * Users with specific pagination requirements may need to change the query
 parameter name (eg perhaps for compatibility with a specific javascript
 paging library)

 Pull req: https://github.com/django/django/pull/467   (Includes docs &
 test)

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19188>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to