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 3.9+
Django 4.2+
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
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_multi_email_field-0.8.0.tar.gz.
File metadata
- Download URL: django_multi_email_field-0.8.0.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b63743ef9027e5522cee5094e8fb972b3be274705080a32bbede2e50b744f777
|
|
| MD5 |
6ebfabbd2efb824aa1962dc62c82dbd0
|
|
| BLAKE2b-256 |
c79578b24271e2465a468cedf5393144d010edade9b04d7e87b9a86fa1c3b403
|
File details
Details for the file django_multi_email_field-0.8.0-py3-none-any.whl.
File metadata
- Download URL: django_multi_email_field-0.8.0-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9da57226ea7e239b462bffdb121abe830931bd5cc702828b4e757784740b7fd
|
|
| MD5 |
2875e4cc6bfed4e3fcb5b6d3c812dc63
|
|
| BLAKE2b-256 |
ac4898d6ae06bc31b51809eb4b18861c2ace1f96b17c98c39df817a26a7a3686
|