Changes between Version 50 and Version 51 of BackwardsIncompatibleChanges


Ignore:
Timestamp:
Nov 27, 2005, 8:51:19 AM (19 years ago)
Author:
Adrian Holovaty
Comment:

Small formatting fix

Legend:

Unmodified
Added
Removed
Modified
  • BackwardsIncompatibleChanges

    v50 v51  
    400400
    401401New way:
    402 
    403402{{{
    404403from django.core import template
     
    424423register.inclusion_tag('path/to/template')(func)
    425424}}}
     425
    426426=== Change template tags that use filters ===
    427427
     
    430430Old way:
    431431{{{
    432 
    433432class SomethingNode(Node):
    434433    def __init__(self, filter_string):
     
    445444
    446445register_tag('something', do_something)
    447 
    448446}}}
    449447
    450448New way:
    451449{{{
    452 
    453450class SomethingNode(Node):
    454451    def __init__(self, filter_expr):
     
    471468
    472469=== Templates ===
    473 Templates that are included in another template using {%include%} or {%ssi%} must explicitly {%load%} all libraries they need for their tags and filters. Some templates may have worked in the past due to previous requests registering tags : this will no longer work. 
     470
     471Templates that are included in another template using {{{{% include %}}}} or {{{{% ssi %}}}} must explicitly {{{{% load %}}}} all libraries they need for their tags and filters. Some templates may have worked in the past due to previous requests registering tags : this will no longer work. 
Back to Top