def notify_new_user(self):
        current_site = Site.objects.get_current()
        mail_body = render_to_string(
            'easyreg/mail/success_registration.txt', {
                'email': self.email,
                'password': self.password,
                'site': current_site,
            })
        mail_subject = render_to_string(
            'easyreg/mail/success_registration_subject.txt', {
                'site': current_site,
            }).split('\n')[0]
        send_mail(mail_subject, mail_body, settings.DEFAULT_FROM_EMAIL,
            [self.email])

        messages.info(request, u'We just created an account for you, check your mail for more information.')
Create an Erdos-Renyi graph from the given input graph. 
dataset/ETHPy150Open jjdelc/django-easy-registration/easyreg/forms.py/EmailSignupForm.notify_new_user--crossover with--dataset/ETHPy150Open charanpald/APGL/apgl/generator/ErdosRenyiGenerator.py/ErdosRenyiGenerator.generate