#16101: SingleObjectMixin should accept parameters for overriding the URL 
keywords
for pk and slug
----------------------------------------+-------------------------------
               Reporter:  AndrewIngram  |          Owner:  nobody
                   Type:  New feature   |         Status:  new
              Milestone:                |      Component:  Generic views
                Version:  1.3           |       Severity:  Normal
             Resolution:                |       Keywords:
           Triage Stage:  Accepted      |      Has patch:  1
    Needs documentation:  0             |    Needs tests:  0
Patch needs improvement:  0             |  Easy pickings:  0
----------------------------------------+-------------------------------

Comment (by julien):

 Thanks for the patch! I've slightly tweaked the doc, added release notes
 and removed the `get_slug_url_kwarg()` and `get_pk_url_kwarg()` as those
 complicated things and didn't add real value. I'll just seek for external
 opinion on the naming ("pk_url_kwarg" and "slug_url_kwarg") before RFC'ing
 this ticket.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16101#comment:5>
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to