Source

LiveStream / templates / startstop / index.html

<html>
<head>
<title>Start Stop</title>
</head>
<body>
    <h1>Start or Stop</h1>
    <form method="post" action="{% url startstop.views.submit %}">
        {% csrf_token %}
        <button name="startstop_event" value="start">Start</button>
        <button name="startstop_event" value="stop">Stop</button>
    </form>
</body>
</html>