﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
22724	Improve SingleObjectMixin	tomc		"Belatedly following on from https://code.djangoproject.com/ticket/21898

I feel that {{{slug_url_kwarg}}} and {{{pk_url_kwarg}}} don't feel very in keeping with the rest of django to me, and some thought could be put into improving this part of the API.

My personal opinion is that I don't think that SingleObjectMixin should require a pk, slug, or these variables to be set if you provide a queryset of your own. I don't see any reason why we shouldn't have a {{{DetailView}}} without any arguments in the URL at all, if we provide a single object in some manner.  At the moment to do this, we have to override {{{get_object()}}} and essentially rewrite it, which does not feel very elegant to me."	Cleanup/optimization	new	Generic views	dev	Normal				Accepted	1	1	0	0	0	0
