Changes between Version 42 and Version 43 of NewformsHOWTO


Ignore:
Timestamp:
07/22/2008 05:14:10 PM (7 years ago)
Author:
anonymous
Comment:

save_add does not use a "model" variable as a parameter.

Legend:

Unmodified
Added
Removed
Modified
  • NewformsHOWTO

    v42 v43  
    682682...
    683683
    684     def save_add(self, request, model, form, formsets, post_url_continue):
     684    def save_add(self, request, form, formsets, post_url_continue):
    685685        rep_id = request.GET.get("rep_id", None)
    686686        if rep_id:
    687             result = super(IssueOptions, self).save_add(request, model, form, formsets, post_url_continue)
     687            result = super(IssueOptions, self).save_add(request, form, formsets, post_url_continue)
    688688            result['Location'] = iri_to_uri("/issuesdb/reports/report/%s/" % rep_id)
    689689            return result
    690         return super(IssueOptions, self).save_add(request, model, form, formsets, post_url_continue)
     690        return super(IssueOptions, self).save_add(request, form, formsets, post_url_continue)
    691691}}}
    692692
Back to Top