How to get the user of ChatMsg.objects.filter (user=8,touserid=9) in Django from html

how to get the user and touserid of ChatMsg.objects.filter (user=8,touserid=9) in Django rest framework from the front end of html

class ChatMsg (models.Model):

"""

"""
user = models.ForeignKey(User, verbose_name="",on_delete=models.CASCADE)  
msg = models.TextField("",max_length=20000,)
touserid = models.CharField(max_length=32, verbose_name="id",)
read = models.BooleanField(verbose_name="", help_text="",default=False)
add_time = models.DateTimeField(verbose_name="", default=datetime.now)

class Meta:
    verbose_name = ""
    verbose_name_plural = ""

def __str__(self):
    return u"%s" % self.user.id
    
 

class ReadMsgView (mixins.DestroyModelMixin,ListModelMixin,viewsets.GenericViewSet)

 queryset = ChatMsg.objects.filter(user=8,touserid=9) 
 serializer_class = ReadMsgSerializer  -sharp  
Apr.03,2021

this issue has been resolved.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5aff3-27b2f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5aff3-27b2f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?