Code

Changes between Version 10 and Version 11 of NewManipulators


Ignore:
Timestamp:
08/21/06 16:07:20 (8 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