Changes between Version 81 and Version 82 of BackwardsIncompatibleChanges
- Timestamp:
- Apr 1, 2007, 12:31:12 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BackwardsIncompatibleChanges
v81 v82 9 9 == Table of Contents == 10 10 11 Changes made after Django [source:/django/tags/releases/0.95 0.95] 11 Changes made after Django [source:/django/tags/releases/0.95 0.95]: 12 12 * August 2, 2006: [http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#Databaseconstraintnameschanged Database constraint names changed] 13 13 * August 11, 2006: [http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#Backslashescapingchanged Backslash escaping changed] … … 18 18 * March 14, 2007: [http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#EnforcingMySQLdbversion Enforcing MySQLdb version] 19 19 20 Changes made after Django [source:/django/tags/releases/0.96 0.96] 20 Changes made after Django [source:/django/tags/releases/0.96 0.96]: 21 21 22 22 * March 31, 2007: [http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#Changedspacelesstemplatetagtoremoveallspaces Changed 'spaceless' template tag to remove all spaces] … … 116 116 117 117 As of [4885], the {{{spaceless}}} template tag removes *all* spaces between HTML tags instead of preserving a single space. 118 119 For example, for this template code: 120 {{{ 121 {% spaceless %} 122 <p> 123 <a href="foo/">Foo</a> 124 </p> 125 {% endspaceless %} 126 }}} 127 128 The old output was this: 129 130 {{{ 131 <p> <a href="foo/">Foo</a> </p> 132 }}} 133 134 The new output is this: 135 136 {{{ 137 <p><a href="foo/">Foo</a></p> 138 }}} 139 140 As always, {{{spaceless}}} only affects space *between* HTML tags, not space within HTML tags or space in plain text.