forms.py code example Example: django get form id from request # html # views.py if 'message_frm' in request.POST: #do somethings