Uzyskaj wartość 1 pola w modelu Django

#Model:
class YourModel(models.Model):
    name = models.CharField(max_length=30)
    
#Then to get name attribute
queryset = YourModel.objects.get(id=1)
field_name = queryset.name
MitchAloha