Obtenha valor de 1 campo no modelo 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