[Answered ]-How to get One object value from database in Django

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

Leave a comment