Changes between Version 91 and Version 92 of RemovingTheMagic


Ignore:
Timestamp:
Mar 21, 2006, 9:42:20 AM (18 years ago)
Author:
Paul Bissex
Comment:

manipulator update

Legend:

Unmodified
Added
Removed
Modified
  • RemovingTheMagic

    v91 v92  
    662662If you are using any of these classes or functions, you will need to update your code accordingly.
    663663
     664=== Changed interface to manipulators ===
     665
     666Old: {{{
     667from django.core import formfields
     668from django.models.MODELPACKAGE import MODELMODULE
     669...
     670manipulator = MODELMODULE.AddManipulator()
     671...
     672form = formfields.FormWrapper(manipulator, new_data, errors)
     673}}}
     674
     675New: {{{
     676from django.forms import FormWrapper
     677from PROJECT.APP.models import MODELNAME
     678...
     679manipulator = MODELNAME.AddManipulator()
     680...
     681form = formfields.FormWrapper(manipulator, new_data, errors)
     682}}}
     683
     684
    664685=== Slightly changed django.VERSION ===
    665686
Back to Top