title: Why doesn't None put in variable?
body: <p>Why doesn't None put in variable?
  I wrote in code like</p>
  
  <pre><code>def check(request):
      if len(request.POST.get('access_key')) &gt;= 25:
          return HttpResponse('&lt;h1&gt;Hello&lt;/h1&gt;')
      elif request.POST.get('access_key', None) == None:
          id_json = {}
          return JsonResponse(id_json, safe=False)
      else:
          return HttpResponse('&lt;h1&gt;Good&lt;/h1&gt;')
  </code></pre>
  
  <p>Now I put anything to access_key in POSTMAN like
  <a href="https://i.stack.imgur.com/apyiM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/apyiM.png" alt="enter image description here"></a></p>
  
  <p>I think in this case the program goes into <code>elif request.POST.get('access_key', None) == None:</code>,but now it goes into <code>else:</code>.</p>
  
  <p>I really cannot understand why the null value is not recognized as <code>None</code>. I wrote <code>print(type(request.POST.get('access_key')))</code> and blank is printed out.</p>
  
  <p>I wanna make a system if no value is put, and the program should go into  <code>elif request.POST.get('access_key', None) == None:</code>.</p>
  
  <p>How should I fix this?</p>