Skip to main content

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.6/2.7/3.2/3.3/3.4

  • Django 1.4/1.5/1.6/1.7

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

makinacom

CHANGELOG

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

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.3.1.tar.gz (6.8 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django-multi-email-field-0.3.1.tar.gz
Algorithm Hash digest
SHA256 c02caea38b4a94fd54e63547df76f65a1da5fbb31e485cbd9c8281d6817fbb71
MD5 8d15facbb69b98443d6c1706599fc4b2
BLAKE2b-256 992a396981ae78c1ff3e18e95a04e114aaec28dcb70099a8037928a05c586fca

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