Django: How to put existing fields when displaying form for UpdateView?
<p>I'm making an episode tracker website and when I want the user to edit a show, the form provided starts with empty fields. How do I fill the form with already existing fields? For example, when a user is watching a show and is originally at episode 5, how do I call the update form with the Episode field already at 5 instead of it being empty?</p>

<p><strong>views.py</strong></p>

<pre><code>class ShowUpdate(UpdateView):
    model = Show
    slug_field = 'title'
    slug_url_kwarg = 'show'
    fields = ['description', 'season', 'episode']
</code></pre>

<p><strong>show-detail.html</strong></p>

<pre><code>&lt;form action="{% url 'show:show-update' show=show.title %}" method="post"&gt;
{% csrf_token %}
&lt;button type="submit"&gt;Edit&lt;/button&gt;
&lt;/form&gt;
</code></pre>