Changes between Version 105 and Version 106 of BackwardsIncompatibleChanges


Ignore:
Timestamp:
07/12/2007 12:33:30 AM (8 years ago)
Author:
adrian
Comment:

Added "Changed init() parameters in syndication framework's Feed class"

Legend:

Unmodified
Added
Removed
Modified
  • BackwardsIncompatibleChanges

    v105 v106  
    2828 * [5516] June 22, 2007: [http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#Urlpatternsnowcached Urlpatterns now cached]
    2929 * [5609] July 4, 2007: [http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#Unicodemerge Unicode merge]
     30 * [5654] July 12, 2007: Changed __init__() parameters in syndication framework's Feed class
    3031
    3132== Database constraint names changed ==
     
    225226== Urlpatterns now cached ==
    226227
    227 In [5516] a speed improvement was made for reverse URL lookups, particularly. Part of this involved caching information that was unlikely to change: the {{{urlpatterns()}}} contents.
     228In [5516], a speed improvement was made for reverse URL lookups, particularly. Part of this involved caching information that was unlikely to change: the {{{urlpatterns()}}} contents.
    228229
    229230If you were somehow relying on the fact that you could change your {{{urls.py}}} files and not have to restart Django, you can no longer do that. Edits require a restart.
     
    234235
    235236If you were using non-ASCII data, Django would have behaved unreliably in some cases previously and so backwards-compatibility was neither completely possible nor desirable. However, some people may have been able to get by with non-ASCII data successfully. They might now experience some different errors to previously. Porting code to work correctly with non-ASCII data is fairly simple. Follow [http://code.djangoproject.com/wiki/UnicodeBranch#PortingApplicationsTheQuickChecklist this checklist] for fastest results.
     237
     238== Changed __init__() parameters in syndication framework's Feed class ==
     239
     240In [5654], we changed the {{{Feed}}} class' {{{__init__()}}} method to take an {{{HttpRequest}}} object as its second parameter, instead of the feed's URL. This allows the syndication framework to work without requiring the sites framework.
     241
     242This only affects people who have subclassed {{{Feed}}} and overridden the {{{__init__()}}} method, and people who have called {{{Feed.__init__()}}} directly from their own code. {{{Feed.__init__()}}} had not been documented.
Back to Top