There should be descriptive sample JSON in open API.
once sample JSON is written, test post API on local with it
add default fields manually in API if needed for some fields, or set them in models for those fields.
once defaults are added, in views we do not have to add checks like this
if feedback.value and feedback.value = None
and we can directly process like
if feedback.value = None
There should be descriptive sample JSON in open API.
once sample JSON is written, test post API on local with it add default fields manually in API if needed for some fields, or set them in models for those fields.
once defaults are added, in views we do not have to add checks like this
if feedback.value and feedback.value = None
and we can directly process like
if feedback.value = None