django MultiValueDictKeyError error,

boingboing·2022년 1월 18일
0

에러

is_private = request.POST.get('is_private', False)

Use the MultiValueDict's get method. This is also present on standard dicts and is a way to fetch a value while providing a default if it does not exist.

0개의 댓글