Re: [Django] #11089: contrib.auth.views.login should take an optional 'form' argument

2009-05-12 Thread Django
#11089: contrib.auth.views.login should take an optional 'form' argument
--+-
  Reporter:  gregplaysguitar  | Owner:  nobody
Status:  closed   | Milestone:
 Component:  Contrib apps |   Version:  1.1-beta-1
Resolution:  duplicate|  Keywords:
 Stage:  Unreviewed   | Has_patch:  0 
Needs_docs:  0|   Needs_tests:  0 
Needs_better_patch:  0|  
--+-
Changes (by julien):

  * status:  new => closed
  * resolution:  => duplicate

Comment:

 #8274 already reports this issue and has a patch

-- 
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-updates@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
-~--~~~~--~~--~--~---



Re: [Django] #11089: contrib.auth.views.login should take an optional 'form' argument

2009-05-12 Thread Django
#11089: contrib.auth.views.login should take an optional 'form' argument
--+-
  Reporter:  gregplaysguitar  | Owner:  nobody
Status:  new  | Milestone:
 Component:  Contrib apps |   Version:  1.1-beta-1
Resolution:   |  Keywords:
 Stage:  Unreviewed   | Has_patch:  0 
Needs_docs:  0|   Needs_tests:  0 
Needs_better_patch:  0|  
--+-
Changes (by gregplaysguitar):

  * needs_better_patch:  => 0
  * version:  1.0 => 1.1-beta-1
  * needs_tests:  => 0
  * needs_docs:  => 0

-- 
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-updates@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] #11089: contrib.auth.views.login should take an optional 'form' argument

2009-05-12 Thread Django
#11089: contrib.auth.views.login should take an optional 'form' argument
-+--
 Reporter:  gregplaysguitar  |   Owner:  nobody
   Status:  new  |   Milestone:
Component:  Contrib apps | Version:  1.0   
 Keywords:   |   Stage:  Unreviewed
Has_patch:  0|  
-+--
 I've been using http://www.djangosnippets.org/snippets/74/ to allow users
 to log in with their email address, and it has been working really nicely
 except that users with an email address over 30 characters can't log in.
 The fix is simply to increase the max_length attribute on the login form's
 username field, however to effect this change I needed to write a custom
 view, which was a duplicate of contrib.auth.views.login except that it
 used my custom form.

 My proposal is to add an optional 'form' argument to
 contrib.auth.views.login - that way I could just put

 {{{
 (r'^accounts/login/$', auth_views.login, {'form':
 MyAuthenticationForm}),
 }}}

 in my url conf.

-- 
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-updates@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
-~--~~~~--~~--~--~---