def _migrate_alerts_to_user(self):
    "\n        Transfer any active alerts linked to a user's email address to the\n        newly registered user.\n        "
    ProductAlert = self.alerts.model
    alerts = ProductAlert.objects.filter(email=self.email, status=ProductAlert.ACTIVE)
    alerts.update(user=self, key='', email='')
Transfer any active alerts linked to a user's email address to the
newly registered user.
def _migrate_alerts_to_user(self):
    "\n        Transfer any active alerts linked to a user's email address to the\n        newly registered user.\n        "
    ProductAlert = self.alerts.model
    alerts = ProductAlert.objects.filter(email=self.email, status=ProductAlert.ACTIVE)
    alerts.update(user=self, key=, email=)