from django.db.models.signals import post_save
from django.dispatch import receiver
from social.models import TemuUser, Relationship

import logging


logger = logging.getLogger(__name__)


@receiver(post_save, sender=TemuUser, dispatch_uid="create_user_relationship")
def user_relationship_handler(sender, instance, created, using, **kwargs):
    logger.debug("Signal is received.")
    if created:
        r = Relationship(user=instance)
        r.save(using=using)
        logger.debug('New relationship created')
    else:
        logger.debug('No new record.')

@@ -341,47 +341,8 @@
 s):%0A
-    logger.debug(%22Signal is received.%22)
 %0A   
@@ -426,102 +426,4 @@
 ng)%0A
-        logger.debug('New relationship created')%0A    else:%0A        logger.debug('No new record.')%0A

Remove debug lines.