Changes between Version 152 and Version 153 of BackwardsIncompatibleChanges


Ignore:
Timestamp:
Feb 7, 2008, 8:29:11 AM (16 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BackwardsIncompatibleChanges

    v152 v153  
    560560== Raise errors if extends is not the first tag of a template ==
    561561
    562 In [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.
     562In [7082] we removed the possibility of putting extends below other tags (in [7089]).   You may still put it below comment tags or whitespace.  Otherwise it will raise a !TemplateSyntaxError. This is not technically a backward incompatible change because documentation specifies that [http://www.djangoproject.com/documentation/templates/#template-inheritance extends tags should be placed at the top of a template] but it may break your code if you haven't followed those instructions.
    563563
    564564== Change es_AR to es-ar in LANGUAGES ==
Back to Top