The Wayback Machine - https://web.archive.org/web/20220802230641/https://github.com/topics/peewee
Skip to content
#

peewee

Here are 168 public repositories matching this topic...

pydatasci-repos
pydatasci-repos commented Oct 19, 2020

If you feel so inclined to do an EmailField, here is the regex I've used previously:

valid_email = RegexValidator(
    """(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]

Improve this page

Add a description, image, and links to the peewee topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the peewee topic, visit your repo's landing page and select "manage topics."

Learn more