Django create object maximum fields
I'm studying Django. This is a follow up to my previous answered inquiry.
My previous question is working in a model with not more than 100 fields.
Now I'm testing the method to a new model with 327 fields.
I'm wondering if there's a maximum fields when creating a record or
writing a fields within objects.create().
My object is not saving if I'm using where rec_fields[field_name[i]] = value
LatestRsl.objects.create(logbook=log_instance, **rec_fields)
But when I try to test a small piece of fields like below I can see the
new created record.
`LatestRsl.objects.create(logbook=log_instance,
status=rec_fields[header_name[0]], rslno=rec_fields[header_name[1]])`
Any hint or guide is really appreciated. Thanks.
No comments:
Post a Comment