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 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()
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
Built Distribution
Close
Hashes for django-multi-email-field-0.7.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87be916dece0dde2da68ef7c5a253cef76e905f264dd1e4d2c8cb8ba55919bea |
|
MD5 | 5fac2601c870cb5e039d0e9e370d3538 |
|
BLAKE2b-256 | c6348cdeda9c227e67a35003dafe52627647eab1d7c765f0964cf3d88b18cf91 |
Close
Hashes for django_multi_email_field-0.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c4daf08be582ad7a94c48845c6b4f5fb53e51ee45b0552c1c6a0c4a75b62c32 |
|
MD5 | d4b81b77dd0606795ba3ea42f42d79e9 |
|
BLAKE2b-256 | 3bb626621e8dce62d786317ff96a688355db8c1d5977b054e851a2d33b796e9e |