Answers for "find email address django"

0

extract email address using expression in django

import re
s = 'Hello from [email protected] to [email protected] about the meeting @2PM'
  
# S matches any non-whitespace character 
# @ for as in the Email 
# + for Repeats a character one or more times 
lst = re.findall('S+@S+', s)
print(lst)
#['[email protected]', '[email protected]']
Posted by: Guest on November-19-2020
-1

django email verification

I figured out a solution , but for the second requirement user has to input the password at the time of account creation . The main goal was to verify the user supplied email.

Models
class Yourmodel(models.Model):
    first_name = models.CharField(max_length=200)
    second_name = models.CharField(max_length=200)
    email = models.EmailField(max_length=100)
Posted by: Guest on March-23-2021

Code answers related to "find email address django"

Python Answers by Framework

Browse Popular Code Answers by Language