Something changed in the model? IDinternal edit form was broken, fixed it
- Legacy-Id: 171
This commit is contained in:
parent
a9110c09c6
commit
51a3214d96
|
@ -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':
|
||||||
|
|
Loading…
Reference in a new issue