DT
Size: a a a
DT
Т
bound_form = InsForm(request.POST)
print(request.POST)
if bound_form.is_valid():
bound_form.cleaned_data['ad'] = 1
print(bound_form.cleaned_data)
bound_form.save()
return HttpResponse(1)
Т
django.db.utils.IntegrityError: null value in column "ad_id" violates not-null constraint
DETAIL: Failing row contains (18, , , , , , '', '', 19, 01, null).
Б
Т
Б
DT
PZ
Б
DT
PZ
Б
PZ
DT
Б
Т
e
PZ