+ elif key:
+ try:
+ c = Contact.objects.get(form_tag=form_class.save_as_tag, key=key)
+ except Contact.DoesNotExist:
+ raise Http404
+ initial = dict(c.body)
+ initial['contact'] = c.contact
+ for att in c.attachment_set.all():
+ initial[att.tag] = att.file
+ form = form_class(initial=initial, key=key)