old_backend/lahause/users/serializers/users.py
def create(self, data):
        """Handle user and profile creation."""
        data.pop('password_confirmation')
        user = User.objects.create_user(**data, is_verified=False)
#        send_confirmation_email.delay(user_pk=user.pk)
        return user
Handle user and profile creation.
Handle user and profile creation.
Handle user and profile creation .
def create(self, data):
        data.pop('password_confirmation')
        user = User.objects.create_user(**data, is_verified=False)
        return user
def create ( self , data ) : data . pop ( 'password_confirmation' ) user = User . objects . create_user ( ** data , is_verified = False ) return user
Handle user and profile creation.
Handle user and profile creation .
"""Handle user and profile creation.""" #        send_confirmation_email.delay(user_pk=user.pk)
self
data