Re: [Django] #14883: EmailField should be of type="email"

2010-12-10 Thread Django
#14883: EmailField should be of type="email"
-+--
  Reporter:  paulc   | Owner:  nobody
Status:  closed  | Milestone:
 Component:  Forms   |   Version:  SVN   
Resolution:  duplicate   |  Keywords:
 Stage:  Unreviewed  | Has_patch:  0 
Needs_docs:  0   |   Needs_tests:  0 
Needs_better_patch:  0   |  
-+--
Changes (by lrekucki):

  * status:  new => closed
  * needs_better_patch:  => 0
  * resolution:  => duplicate
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 Duplicate of #12488.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



[Django] #14883: EmailField should be of type="email"

2010-12-10 Thread Django
#14883: EmailField should be of type="email"
---+
 Reporter:  paulc  |   Owner:  nobody
   Status:  new|   Milestone:
Component:  Forms  | Version:  SVN   
 Keywords: |   Stage:  Unreviewed
Has_patch:  0  |  
---+
 I looked around so I hope this isn't a dupe.

 With HTML 5 out, EmailField should use an input of type="email" by
 default. That would be as simple as defining an EmailWidget, like so:

 {{{
 class EmailWidget(forms.widgets.Input):
 input_type = 'email'
 }}}

 And then making EmailField use it:

 {{{
 class EmailField(CharField):
 widget = EmailWidget
 # rest of code...
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.