I have a form that sends parameters. In my form I have a checkbox. If my checkbox is not checked then I will not get any parameters.
If in my module I have :
var = request.form.get('checkbox')
This will return None if the parameter is not defined.
None