A Django form-Field that will check if the given email-address is a Disposable Email Address and block it accordingly.
-
Add "indisposable_email_field" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'indisposable_email_field', ]
-
Run
python manage.py migrate
to create the models and populate with blacklisted domains -
Use
IndisposableEmailField
fromindisposable_email_field.fields
like any regularEmailField
-
Optional: Add more blacklisted domains in the django
/admin