def nominate_for(self, nominee, nominator=None):
        nomination = Nomination.objects.create(badge=self, creator=nominator,
                                         nominee=nominee)
        if notification:
            if self.creator:
                notification.send([self.creator], 'nomination_submitted',
                                  dict(nomination=nomination,
                                       protocol=DEFAULT_HTTP_PROTOCOL))

        if self.nominations_autoapproved:
            nomination.approve_by(self.creator)

        return nomination
Nominate a nominee for this badge on the nominator's behalf
dataset/ETHPy150Open mozilla/django-badger/badger/models.py/Badge.nominate_for