Code

Changes between Version 44 and Version 45 of NewformsHOWTO


Ignore:
Timestamp:
08/02/08 17:22:50 (6 years ago)
Author:
brosner
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NewformsHOWTO

    v44 v45  
    623623    save_on_top = True 
    624624 
    625     def render_change_form(self, request, model, context, *args, **kwargs): 
     625    def render_change_form(self, request, context, *args, **kwargs): 
    626626        extra = { 
    627627            'has_file_field': True # Make your form render as multi-part. 
     
    631631         
    632632        superclass = super(ReportOptions, self) 
    633         return superclass.render_change_form(request, model, context, *args, **kwargs) 
     633        return superclass.render_change_form(request, context, *args, **kwargs) 
    634634}}} 
    635635