text: from django.db import models
  from django.contrib.auth.models import User
  
  
  class UserToUserMessages(models.Model):
      class Meta:
          """Meta definition for UserToUserMessages."""
  
          verbose_name = 'User To User Message'
          verbose_name_plural = 'User To User Messages'
  
  
      title = models.CharField(max_length=120, blank=True, null=True)
      text = models.TextField()
      sender = models.ForeignKey(User, on_delete=models.CASCADE)
      receiver = models.ForeignKey(User, related_name="sent_to", on_delete=models.CASCADE)
  
      date_created = models.DateTimeField(auto_now_add=True)
      is_read = models.BooleanField(default=False)
  