Wednesday, November 27, 2019

Re: Trying to update a record using UpdateView Error: Circuitinfotable matching query does not exist

I don't have a circuitinfotable_form.html.  I never specified circuitinfotable_form in any of my code.  What should that form contain?  My /viewLit/editCircuit.html form contains the following:

<html text/html>

<body>
{% block content %}

<form action="" method="POST">
{% csrf_token %}
{{form.as_p}}

<input type="submit" value="Update">

</form>

{% endblock %}
</body>
</html>

Shouldn't that suffice for the template form?  What is calling the circuitinfotable_form.html?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a06f82fb-0920-4e76-b0cb-027cda1ced92%40googlegroups.com.

No comments:

Post a Comment