﻿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
23460	Allow a literal `%s` to be passed through extra select	Matt Robenolt	nobody	"Right now, if you try and do something like this:

{{{
Foo.objects.extra(select={'foo': ""'%%s""'})
}}}

or

{{{
Foo.objects.extra(select={'foo': '""%s""'})
}}}

Ultimately `add_extra` raises a `StopIteration` while iterating over `param_iter` since there aren't actually any arguments to format.

It's expected to allow %%s as an escape sequence.

See: https://github.com/django/django/pull/3209 for patch."	Bug	closed	Database layer (models, ORM)	1.7	Normal	fixed	queryset		Accepted	1	0	0	0	0	0
