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 migrateto create the models and populate with blacklisted domains -
Use
IndisposableEmailFieldfromindisposable_email_field.fieldslike any regularEmailField -
Optional: Add more blacklisted domains in the django
/admin