Provide a form Load data on the page from a model Update model from form submission code example
Example: django model form
class YourForm(ModelForm):
class Meta:
model = YourModel
fields = ['pub_date', 'headline', 'content', 'reporter']