Changes between Version 151 and Version 152 of BackwardsIncompatibleChanges


Ignore:
Timestamp:
Feb 7, 2008, 8:05:09 AM (16 years ago)
Author:
David Larlet
Comment:

add extends as first tag

Legend:

Unmodified
Added
Removed
Modified
  • BackwardsIncompatibleChanges

    v151 v152  
    4949 * [6852] Dec. 2, 2007: [#ChangetoAPPEND_SLASHbehaviour Change to APPEND_SLASH behaviour]
    5050 * [6915] Dec 12, 2007 [#ModelFormsconstructornowmatchesForms ModelForm's constructor now matches Form's]
     51 * [7082] Feb 3, 2008 [#Raiseerrorsifextendsisnotthefirsttagofatemplate Raise errors if extends is not the first tag of a template]
    5152 * [7091] Feb 5, 2008 [#Changees_ARtoes-arinLANGUAGES Change es_AR to es-ar in LANGUAGES]
    5253
     
    557558}}}
    558559
     560== Raise errors if extends is not the first tag of a template ==
     561
     562In [7082] we removed the possibility to put extends below another tag except comment tags (in [7089]) and spaces. Otherwise it will raise a !TemplateSyntaxError. This is not a backward incompatible change because documentation had always specified that [http://www.djangoproject.com/documentation/templates/#template-inheritance you should use extends tag at first] but it may break your code if you haven't followed those instructions.
     563
    559564== Change es_AR to es-ar in LANGUAGES ==
    560565
Back to Top