favorite_animal = models.CharField(max_length=20, default='Dragons.')

def create_user_profile(sender, instance, created, **kwargs):
    if created:
        UserProfile.objects.create(user=instance)
post_save.connect(create_user_profile, sender=User)
get user profile in django