Changes between Version 209 and Version 210 of BackwardsIncompatibleChanges
- Timestamp:
- Aug 5, 2008, 6:48:01 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BackwardsIncompatibleChanges
v209 v210 69 69 * [7971] July 18, 2008 [#Movednewformstoforms Moved django.newforms to django.forms] 70 70 * [8015] July 19, 2008 [#ChangedthewayURLpathsaredetermined Changed the way URL paths are determined] 71 * [8131] July 29, 2008 [#intfield__infilterlookupsnolongerwork intfield__in=('',) filter lookups no longer work] 71 72 * [8143] July 30, 2008 [#DecimalFieldconversiontightened DecimalField conversion tightened] 72 73 * [8162] July 30, 2008 [#Passwordresetsystemchangedtoimprovesecurityandusability Password reset system changed to improve security and usability ] … … 583 584 obj = MyObj.objects.get(pk=1) 584 585 form = MyForm(instance=obj) 586 587 588 585 589 }}} 586 590 … … 876 880 # NEW: 877 881 # in admin.py 882 883 878 884 879 885 … … 1048 1054 25 special cases for each webserver and installation possibility). 1049 1055 1056 == `intfield__in=['']` filter lookups no longer work == 1057 1058 Before [8131], `MyModel.objects.filter(intfield__in=[''])` would return an empty `QuerySet`, where `intfield` represents an `IntegerField` or similar on `MyModel`. For example, if you had been unpacking a comma-separated list of IDs into a lookup such as: 1059 {{{ 1060 #!python 1061 authors = Author.objects.filter(id__in=author_ids.split(',')) 1062 }}} 1063 then your lookup will fail if author_ids is an empty string, as of [8131]. 1064 1050 1065 == !DecimalField conversion tightened == 1051 1066 … … 1078 1093 1079 1094 Previously !NoReverseMatch exceptions were silenced in the `{% url %}` tag. This is very rarely useful, and usually just produced difficult to find bugs, and so was changed in [8211]. See #8031. 1080 1081 == `intfield__in=['']` filter lookups no longer work ==1082 1083 Before [8131], `MyModel.objects.filter(intfield__in=[''])` would return an empty `QuerySet`, where `intfield` represents an `IntegerField` or similar on `MyModel`. For example, if you had been unpacking a comma-separated list of IDs into a lookup such as:1084 {{{1085 #!python1086 authors = Author.objects.filter(id__in=author_ids.split(','))1087 }}}1088 then your lookup will fail if author_ids is an empty string, as of [8131].