title: How can I create user profile after registering user in django using Signals?
body: <p>I am trying to create userprofile after user has been registered in django app.<br>
  User creation is working fine but it is not profile models in admin page.</p>
  
  <p>It is not showing any errors.</p>
  
  <p>So far I have done this.</p>
  
  <blockquote>
    <p>users/signals.py</p>
  </blockquote>
  
  <pre><code>from django.db.models.signals import post_save
  from django.contrib.auth.models import User
  #reciever
  from django.dispatch import receiver
  from .models import Profile
  
  @receiver(post_save, sender=User)
  def create_profile(sender, instance, created, **kwargs):
      if created:
          Profile.objects.create(user=instance)
  
  @receiver(post_save, sender=User)
  def save_profile(sender, instance, **kwargs):
      instance.profile.save()
  </code></pre>
  
  <blockquote>
    <p>users/app.py</p>
  </blockquote>
  
  <pre><code>from django.apps import AppConfig
  
  class UsersConfig(AppConfig):
      name = 'users'
      def ready(self):
          import users.signals
  </code></pre>
  
  <blockquote>
    <p>users/models.py</p>
  </blockquote>
  
  <pre><code>from django.db import models
  from django.contrib.auth.models import User
  # Create your models here.
  
  class Profile(models.Model):
      user = models.OneToOneField(User, on_delete=models.CASCADE)
      image = models.ImageField(default='default.jpg', upload_to='profile_pic')
  
      def __str__(self):
          return f'{self.user.username} Profile'
  </code></pre>