I am using django-forms-builder in my project and there is just one thing i cant get my head around. How do i set up an update form to edit a filled out form?
Here is my attempt at making an update form for django-forms-builder
urls.py
url('forms/update/(?P<pk>\d+)/$', FormUpdateView.as_view(), name='form-update'), views.py
class FormUpdateView(UpdateView): model = FieldEntry template_name = 'form/update_form.html' form_class = FormForForm success_url = '/assessments/all/' update-form.py
{% render_built_form id=form_instance.id %}
form_instanceFormDetailview that comes with django-forms-builder github.com/stephenmcd/django-forms-builder/blob/master/…