Answers for "poset save @reciever created"

0

poset save @reciever created

@receiver(post_save, sender=User)
def create_profile(sender, instance, created, **kwargs):
    if created:
        Profile1.objects.create(customer=instance)
Posted by: Guest on June-13-2021

Browse Popular Code Answers by Language