Something changed in the model? IDinternal edit form was broken, fixed it

- Legacy-Id: 171
This commit is contained in:
Henrik Levkowetz 2007-05-28 09:22:59 +00:00
parent a9110c09c6
commit 51a3214d96

View file

@ -74,7 +74,7 @@ def edit_idinternal(request, id=None):
IDEntryForm = forms.models.form_for_instance(draft) IDEntryForm = forms.models.form_for_instance(draft)
# todo: POST handling for idform # todo: POST handling for idform
idform = IDEntryForm() idform = IDEntryForm()
idinternal = draft.idinternal() idinternal = draft.idinternal
if idinternal: if idinternal:
EntryForm = forms.models.form_for_instance(idinternal) EntryForm = forms.models.form_for_instance(idinternal)
if request.method == 'POST': if request.method == 'POST':