django1/django/contrib
Tai Lee 31e6d58d46 Fixed #20348 -- Consistently handle Promise objects in model fields.
All Promise objects were passed to force_text() deep in ORM query code.
Not only does this make it difficult or impossible for developers to
prevent or alter this behaviour, but it is also wrong for non-text
fields.

This commit changes `Field.get_prep_value()` from a no-op to one that
resolved Promise objects. All subclasses now call super() method first
to ensure that they have a real value to work with.
2013-07-31 15:54:17 +03:00
..
admin Updated some minified admin javascript files. 2013-07-30 00:21:33 -07:00
admindocs Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
auth Fixed a test that could fail depending on PASSWORD_HASHERS. 2013-07-30 16:14:53 +02:00
comments Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
contenttypes Use a more explicit check for whether these ids are None. 2013-07-08 12:44:17 +10:00
flatpages Updated flatpages tests to override CSRF_FAILURE_VIEW. 2013-07-30 13:04:30 -04:00
formtools Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
gis Fixed #20348 -- Consistently handle Promise objects in model fields. 2013-07-31 15:54:17 +03:00
humanize Stopped using django.utils.unittest in the test suite. 2013-07-01 14:29:33 +02:00
messages Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
redirects Updated translation templates and removed en translations 2013-05-02 16:25:23 +02:00
sessions Deprecated django.utils.importlib 2013-07-29 17:10:22 +02:00
sitemaps Fixed #20793 -- Added Last-Modified header to sitemaps. 2013-07-31 07:42:30 -04:00
sites Fixed #20199 -- Allow ModelForm fields to override error_messages from model fields 2013-06-18 08:01:17 -04:00
staticfiles Fixed #20819 -- Return 404 instead of 500 error when ``staticfiles`` view is used in production. 2013-07-31 18:58:50 +10:00
syndication Fixed #14656 -- Added Atom1Feed `published` element 2013-07-19 10:38:34 -04:00
webdesign Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
__init__.py