Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1210 closed enhancement (fixed)

EmailField with List Support

Reported by: me@… Owned by: Adrian Holovaty
Component: Validators Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


I would like to see EmailField enhanced (or a new field type) to provide support/validation for lists of emails; hopefully following the proper RFC specification (seperated by semi-colons, addresses can be wrapped in < > and prefixed with a display name, et al).

Change History (2)

comment:1 Changed 12 years ago by Matias Hermanrud Fjeld <mhf@…>

Resolution: fixed
Status: newclosed

do this:

from django.core.validators import isCommaSeparatedEmailList

class YourModel(models.model):
    addresses = models.CharField(..., validator_list=[isCommaSeparatedEmailList])

comment:2 Changed 12 years ago by anonymous

Or more likely models.TextField(...

Note: See TracTickets for help on using tickets.
Back to Top