Fixed #23482 -- Added SingleObjectMixin.query_pk_and_slug
Enabling the attribute causes get_object() to perform its lookup using both the primary key and the slug.
Loading
Please register or sign in to comment
Enabling the attribute causes get_object() to perform its lookup using both the primary key and the slug.