#23482: SingleObjectMixin.get_object() should allow lookup by BOTH pk and slug
-------------------------------+------------------------------------
Reporter: jdufresne | Owner: nobody
Type: New feature | Status: new
Component: Generic views | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by claudep):
* needs_docs: 0 => 1
* has_patch: 0 => 1
Comment:
Needs an update here, at least:
https://docs.djangoproject.com/en/dev/ref/class-based-views/mixins-single-
object/#django.views.generic.detail.SingleObjectMixin.get_object
--
Ticket URL: <https://code.djangoproject.com/ticket/23482#comment:3>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.806051a78e4d1c1ce8f2df2f047efca7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.