﻿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
15155	Invalid regular expression for escaping %s substitutions in sqlite backend of django 1.2.4	zyga	nobody	"The actual bug was discovered by zyga and fixed by apollo13 during an IRC session on #django

The issue can be reproduced by this code. Note the code sample below is using _fixed_ sqlite3 backend.

{{{
>>> from django.db import connection
>>> cursor = connection.cursor()
>>> list(cursor.execute(""select strftime('%%s', date('now'))""))
[(u'1295827200',)]
}}}


The bug is caused by invalid regular expression in FORMAT_QMARK_REGEX.
I will follow-up with a patch and a test case"		closed	Database layer (models, ORM)	1.2		duplicate			Accepted	1	0	0	0	0	0
