Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #8214 -- Added back a stringification that was dropped during […


This restores filtering on dates in the admin, for example. Thanks to akfarrell
and a small team of workers at the Portland Sprint.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 64ca36bf0832d9d72fc26293f3aebed7d8b24a52 1 parent a9f0ae7
@malcolmt malcolmt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/db/backends/sqlite3/
2  django/db/backends/sqlite3/
@@ -182,7 +182,7 @@ def _sqlite_extract(lookup_type, dt):
dt = util.typecast_timestamp(dt)
except (ValueError, TypeError):
return None
- return getattr(dt, lookup_type)
+ return unicode(getattr(dt, lookup_type))
def _sqlite_date_trunc(lookup_type, dt):
Please sign in to comment.
Something went wrong with that request. Please try again.