call url form html django code example
Example 1: import forms
from django import forms
from django.contrib.auth.forms import UserCreationForm
from django.contrib.auth.models import User
# Create your forms here.
Example 2: django get form id from request
# html
<input type="submit" value="Reply" name ="message_frm">
# views.py
if 'message_frm' in request.POST:
#do somethings