# from django.db.models.signals import pre_save, post_save
# from django.dispatch import receiver
#
#
# @receiver(pre_save, sender=Developer)
# def pre_save_developer(sender, instance, **kwargs):
#     score = 0
#
#     for blog in instance.blogs.all():
#         rating = blog.rating
#     for blog in instance.blogs.all():
#         rating = blog.rating
#     for blog in instance.blogs.all():
#         rating = blog.rating
#
#     instance.score = score
