This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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

Project Description

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

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/3.3/3.4/3.5
  • Django 1.8/1.9/1.10

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 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 wan to store 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

CHANGELOG

0.5 (2016-10-28)

  • Django 1.10 compatibility

** 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
  • Add support for Django 1.7

0.2 (2014-04-08)

** Bugfixes **

  • Stupid blocking bad call

0.1 (2014-04-07)

  • Initial release
Release History

Release History

This version
History Node

0.5

History Node

0.4

History Node

0.3.1

History Node

0.3

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting