[Answered ]-Djano UpdateView not rendering modelForm

1👍

Class-based views that inherit from the FormMixin [Django-doc] like a FormView, CreateView, UpdateView and DeleteView pass the form object to the template as form, not Form, so you render this as:

{{ form.as_p }}

Note: While not necessary, usually URLs are written in kebab case, so:

path('assessment-scores/<int:pk>/', assessmentEntry.as_view(), name='assessmentScores')

Leave a comment