Opened 10 years ago

Closed 10 years ago

Last modified 8 years ago

#12516 closed (fixed)

email_re has moved from django.form.fields to django.core.validators

Reported by: wildfire@… Owned by: nobody
Component: Core (Other) Version: 1.1
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no



I just tested out a few sites with Django 1.2 alpha 1; and a number of them had:

from django.form.fields import email_re

In Django 1.2 alpha 1, this has moved to django.core.validators

It would be useful if this was noted in the release / upgrade notes, or if appropriate, a compatibility import in django.form.field was made available -- either works for me.

Change History (4)

comment:1 Changed 10 years ago by anonymous

comment:2 Changed 10 years ago by Jannis Leidel

Triage Stage: UnreviewedAccepted

comment:3 Changed 10 years ago by jkocherhans

Resolution: fixed
Status: newclosed

(In [12213]) Fixed #12516. Added the new location of email_re to the release notes. This regex is undocumented, so we're not putting in an import for backwards compatibility.

comment:4 Changed 8 years ago by Jacob

milestone: 1.2

Milestone 1.2 deleted

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