Changes between Version 127 and Version 128 of BackwardsIncompatibleChanges


Ignore:
Timestamp:
Sep 15, 2007, 11:42:54 PM (17 years ago)
Author:
Malcolm Tredinnick
Comment:

Added template loading change.

Legend:

Unmodified
Added
Removed
Modified
  • BackwardsIncompatibleChanges

    v127 v128  
    3838 * [6075] Sept. 9, 2007: [http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#django-admin.pyandmanage.pynowrequiresubcommandstoprecedeoptions django-admin.py and manage.py now require subcommands to precede options]
    3939 * [6177] Sept. 14, 2007: [http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#django.views.i18n.set_languagerequiresaPOSTrequest django.views.i18n.set-language requires a POST request]
    40  * [6212] Sept. 14, 2006: [http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#django.http.HttpResponsenowhascase-insensitiveheaders HttpResponse now has case-insensitive headers, and response.headers is no longer directly accessible]
     40 * [6212] Sept. 14, 2007: [http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#django.http.HttpResponsenowhascase-insensitiveheaders HttpResponse now has case-insensitive headers, and response.headers is no longer directly accessible]
     41 * [6289] Sept. 15, 2007: [http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#Templatetagloadingrespectsdottednotation  Template tag loading respects dotted notation]
    4142
    4243== Database constraint names changed ==
     
    389390
    390391So {{{response.headers}}} has been renamed to {{{response._headers}}}, and {{{HttpResponse}}} now supports containment checking directly. You should now use {{{if header in response}}} instead of {{{if header in response.headers}}}.
     392
     393== Template tag loading respects dotted notation ==
     394
     395In [6289], template tag loading was altered to respect dotted paths, just like Python imports. So
     396{{{
     397{% load foo.bar %}
     398}}}
     399will now look for a file {{{foo/bar.py}}} under one of your templatetag directories.
     400
     401Previously, anything before the final dot was ignored. If you were using this for any decorative purpose (at least one package was, it turns out), you have to remove any unwanted prefix.
Back to Top