if i changed to following:
'docfset':docfset({'actor':request.user}, instance=tdoc),
i got:
ValidationErrorOn May 7, 10:21 am, victor <[email protected]> wrote: > docfset=inlineformset_factory(document, documentOnline, > form=documentOnlineForm, extra=1, can_delete=False) > c = RequestContext( > request, > { > > 'docfset':docfset(instance=tdoc,initial=[{'actor':request.user},]), > > 'documentform':documentForm(initial={'tSUser':getEDSByUObj(request.user, > []),'documentType':'Online','status':'Enabled'}), > } > ) > when runing,i got following errors: > __init__() got an unexpected keyword argument 'initial' > so,how to initial data for inlineformset?thanks. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/django-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

