changeset 435 | 829fe8302a8b |
parent 408 | 7cd6bdfbf95c |
child 448 | 075360be6743 |
--- a/app/soc/views/site/sponsor/profile.py Sun Nov 02 22:56:52 2008 +0000 +++ b/app/soc/views/site/sponsor/profile.py Sun Nov 02 22:57:46 2008 +0000 @@ -155,8 +155,9 @@ fields['founder'] = user form_ln = fields['link_name'] + key_fields = models.sponsor.logic.getKeyFieldsFromKwargs(fields) form_sponsor = models.sponsor.logic.updateOrCreateFromFields( - fields, link_name=form_ln) + fields, key_fields) if not form_sponsor: return http.HttpResponseRedirect('/')