Skip to main content
=================
thecut-emailfield
=================


.. image:: https://travis-ci.org/thecut/thecut-emailfield.svg
:target: https://travis-ci.org/thecut/thecut-emailfield

.. image:: https://codecov.io/github/thecut/thecut-emailfield/coverage.svg
:target: https://codecov.io/github/thecut/thecut-emailfield

.. image:: https://readthedocs.org/projects/thecut-emailfield/badge/?version=latest
:target: http://thecut-emailfield.readthedocs.io/en/latest/?badge=latest
:alt: 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``.

.. :changelog:

=======
History
=======


1.0 (2016-08-16)
================

* Testing improvements
* Documentation improvements.


0.4 (2016-06-28)
================

* Redesigned testing environment.
* Added basic documentation.


0.3 (2016-06-28)
================

* Stop automated testing for Django 1.5 and Django 1.6.
* Improved code coverage exception list.
* Improved code coverage reporting with Travis.
* Removed pre-Django 1.5 email validation code.


0.2.4 (2016-03-11)
==================

* Configured code coverage exceptions.
* Unicode packaging fix (``version.py``).


0.2.3 (2015-11-23)
==================

* Configured continuous integration via Travis.
* Configured code coverage tracking via codecov.


0.2.2 (2015-11-23)
==================

* Added unit tests.
* Added basic unit test environment (with ``tox``).
* Accounted for ``dnspython`` incompatibility with Python 3.


0.2.1 (2015-01-13)
==================

* Added ``LICENSE``, ``README``.etc


0.2 (2014-09-18)
================

* Added Python 3 packging support.
* Added extra validation of email addresses in Django 1.4


0.1 (2014-06-17)
================

* First release.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

thecut-emailfield-1.0.tar.gz (10.7 kB view details)

Uploaded Source

File details

Details for the file thecut-emailfield-1.0.tar.gz.

File metadata

File hashes

Hashes for thecut-emailfield-1.0.tar.gz
Algorithm Hash digest
SHA256 8df83156c9deae188f9103a77332a7ad18a1607f6e6335dbaa824ce092e9e317
MD5 cc621168c5d72081e809eaece17bb7ce
BLAKE2b-256 2ee66ea57f73491b7272bc58733b119a4ecd695ff6e3c58eed01fc686d004501

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.2

1 file

1.0.1

This release

1.0 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page