django search form with post code example
Example: 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
# html
<input type="submit" value="Reply" name ="message_frm">
# views.py
if 'message_frm' in request.POST:
#do somethings