1๐
โ
If you need detailed explanation, comment of Daniel Reseman means to write in views.py
def home_page(request):
tmpl_vars = {
'form': M1Form,
'form2': M2Form,
}
return render(request, 'my_app/test.html',tmpl_vars)
Then in template you can use it as {{form2}}
๐ค1844144
Source:stackexchange.com