Skip to content

Instantly share code, notes, and snippets.

View teacherSsamko's full-sized avatar

Eunsub LEE teacherSsamko

View GitHub Profile
@teacherSsamko
teacherSsamko / cbv_multiple_forms.html
Created March 26, 2020 02:10 — forked from badri/cbv_multiple_forms.html
Django multiple forms code with sample usage
{% extends "base.html" %}
{% block content %}
<form method="post">{% csrf_token %}
{{ forms.subscription }}
<input type="submit" value="Subscribe">
</form>
<form method="post">{% csrf_token %}
{{ forms.contact }}
<input type="submit" value="Send">