Skip to content

Django email field which validates by checking for an MX record on the domain.

License

Notifications You must be signed in to change notification settings

mattaustin/thecut-emailfield

 
 

Repository files navigation

thecut-emailfield

Documentation Status

A Django email field which validates by checking for an MX record on the domain.

Documentation

The full documentation is at https://thecut-emailfield.readthedocs.org.

Quickstart

Install thecut-emailfield using the installation instructions found in the project documentation.

An example models.py:

# -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from django.db import models
from thecut.emailfield.models import EmailField


class EmailModel(models.Model):

    email = EmailField()

An example forms.py:

# -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from django import forms
from thecut.emailfield.forms import EmailField


class EmailForm(forms.Form):

    email = EmailField()

Credits

See AUTHORS.rst.

About

Django email field which validates by checking for an MX record on the domain.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%