The view below is gives me the error when using the POST method. I\'m trying to load the model data into a form, allow the user to edit, and then update the database. When I try
your error to the indentation of a Python file. You have to be careful when following tutorials and/or copy-pasting code. Incorrect indentation can waste lot of valuable time.