1👍
you need to specify the status value you want
field_object = status_mod.objects.get(status=1)
django already creates the id field by default, you don’t need to create it
Source:stackexchange.com
1👍
you need to specify the status value you want
field_object = status_mod.objects.get(status=1)
django already creates the id field by default, you don’t need to create it