Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

MultiValueDictKeyError django

is_private = request.POST.get('is_private', False)
#Where is_private is the var you're trying to get 
#and False is the default you provide, in case that 
#is_private does not exist
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #MultiValueDictKeyError #django
ADD COMMENT
Topic
Name
9+5 =