Changes between Version 10 and Version 11 of NewManipulators


Ignore:
Timestamp:
Aug 21, 2006, 6:07:20 PM (18 years ago)
Author:
brantley
Comment:

generate_fields() comment

Legend:

Unmodified
Added
Removed
Modified
  • NewManipulators

    v10 v11  
    200200    class CreateManipulator(Manipulator):
    201201        def __init__(self):
    202             self.fields = forms.generate_fields(model_cls)
     202            self.fields = generate_fields(model_cls)
     203            # generate_fields() would need to be built.  It creates a list of fields based
     204            # on the Model's fields.
    203205       
    204206        def save(self, data):
     
    209211    class EditManipulator(Manipulator):       
    210212        def __init__(self, object):
    211             self.fields = forms.generate_fields(model_cls)
     213            self.fields = generate_fields(model_cls)
    212214            self.object = object
    213215       
Back to Top