Skip to main content

Provides a model field and a form field to manage list of e-mails

Project description

build coverage pypi

Field and widget to store a list of e-mail addresses in a Django project.

It provides:

  • A form field and a form widget to edit a list of e-mails in a Django form;

  • A model field to store the captured list of e-mails;

COMPATIBILITY

  • Python 2.7 and 3.5+

  • Django 1.8+, 2.0+ and 3.0+

INSTALL

For now:

pip install django-multi-email-field

USAGE

  • Add multi_email_field to your INSTALLED_APPS:

# settings.py
INSTALLED_APPS = (
...
'multi_email_field',
)
  • Use the provided form field and widget:

# forms.py
from django import forms
from multi_email_field.forms import MultiEmailField

class SendMessageForm(forms.Form):
    emails = MultiEmailField()

IN YOUR MODELS

If you want to store a list of e-mails, you can use this:

from django.db import models
from multi_email_field.fields import MultiEmailField

class ContactModel(models.Model):
    emails = MultiEmailField()

AUTHORS

makinacom

CHANGELOG

0.6.1 (2020-02-05)

  • Remove six dependency

0.6.0 (2020-02-05)

  • Django (2.2/3.0) compatibility

0.5.1 (2017-08-11)

** New **

  • Czech translation (thanks @petrmifek)

** Bugfixes **

  • Fix pypi release (thanks @costela)

0.5 (2016-10-28)

  • Django 1.10 compatibility (thanks @AGASS007)

** Drop support **

  • Django < 1.8 is no longer supported

0.4 (2016-04-10)

  • Better Django (1.8/1.9) and Python (3.5) compatibility

0.3.1 (2014-12-18)

** New **

  • South is not required anymore

0.3 (2014-12-05)

** New **

  • Add support for Python 3 (thanks @Hanan-Natan)

  • Add support for Django 1.7

0.2 (2014-04-08)

** Bugfixes **

  • Stupid blocking bad call

0.1 (2014-04-07)

  • Initial release

Project details


Download files

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

Source Distribution

django-multi-email-field-0.6.1.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file django-multi-email-field-0.6.1.tar.gz.

File metadata

  • Download URL: django-multi-email-field-0.6.1.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.5

File hashes

Hashes for django-multi-email-field-0.6.1.tar.gz
Algorithm Hash digest
SHA256 5220f324a86ec459cde98a37ccb993063adb4fee6b280e3618e40c37f7a32467
MD5 22cd3aa4ab54bc9c91aa8385a16060af
BLAKE2b-256 f9ddc781cfbc613202b796906a0fedf4c487b8fa0a749a898b2ff9946bdb483f

See more details on using hashes here.

File details

Details for the file django_multi_email_field-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: django_multi_email_field-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.5

File hashes

Hashes for django_multi_email_field-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4597adb80d5d3bb7919a8113e2da0815f2cf966deb80bdf7fc49a0e6d5579e2d
MD5 3048b0139a03c72660ac039b76ed803e
BLAKE2b-256 34019023a49bd2548bc49f6e014cdd78e47adfe917761279489d917245c2985f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page