text: from django.db.models.signals import post_save
  from django.contrib.auth.models import User
  from django.dispatch import receiver
  from .models import UapUser
  
  
  @receiver(post_save, sender=User)
  def create_uapuser(sender, instance, created, **kwargs):
      """A signal receiver to create a UapUser instance (without saving) whenever a User is created
      and link them using Foreign Key
      """
      if created:
          UapUser.objects.create(user=instance)
  
  @receiver(post_save, sender=User)
  def save_uapuser(sender, instance, **kwargs):
      """A signal receiver function to save the UapUser instance of a User
      """
      instance.uapuser.save()