Changes between Version 92 and Version 93 of BackwardsIncompatibleChanges
- Timestamp:
- May 14, 2007, 11:05:29 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BackwardsIncompatibleChanges
v92 v93 98 98 99 99 {{{ 100 #!python 100 101 class Article(models.Model): 101 102 title = models.CharField(maxlength=100) … … 106 107 107 108 {{{ 109 #!python 108 110 from datetime import datetime 109 111 class Article(models.Model): … … 138 140 Existing uses of `login()`, e.g.: 139 141 {{{ 142 #!python 140 143 c = Client() 141 144 c.login('/path/to/login','myuser','mypassword') … … 143 146 should be modified to read: 144 147 {{{ 148 #!python 145 149 c = Client() 146 150 c.login(username='myuser', password='mypassword') … … 171 175 If you have any form-specific cleaning methods in a newforms.Form subclass, they need to be renamed, as of [5231]. Change code that looks like this 172 176 {{{ 173 #! /python177 #!python 174 178 class SomeForm(Form) 175 179 some_field = ... … … 180 184 to this 181 185 {{{ 182 #! /python186 #!python 183 187 class SomeForm(Form) 184 188 some_field = ...