form prefilled with information from the existing entry object the user will see their existing data and be able to edit that data when processing post requestwe pass the instance=entry argument and the data=request post argument to tell django to create form instance based on the information associated with the existing entry objectupdated with any relevant data from request post we then check if the form is validif it iswe call save(with no arguments we then redirect to the topic page ywhere the user should see the updated version of the entry they edited the edit_entry template here' edit_entry htmlwhich is similar to new_entry htmledit_entry html {extends "learning_logs/base html%{block content %{topic }edit entryu {csrf_token %{form as_p }save changes {endblock content %at the action argument sends the form back to the edit_entry(function for processing we include the entry id as an argument in the {url %tagso the view function can modify the correct entry object we label the submit button as save changes to remind the user they're saving editsnot creating new entry linking to the edit_entry page now we need to include link to the edit_entry page for each entry on the topic pagetopic html --snip-{for entry in entries %{entry date_added|date:' dy : }{entry text|linebreaks }edit entry --snip-user accounts