#10342: login view should accept a form class ----------------------------------------------+----------------------------- Reporter: steph | Owner: nobody Status: new | Milestone: post-1.0 Component: Contrib apps | Version: SVN Keywords: contrib auth login form override | Stage: Unreviewed Has_patch: 1 | ----------------------------------------------+----------------------------- I would like to override the default form (AuthenticationForm) in django.contrib.auth.views.login. This is needed if an alternative auth backend is used, which needs extra fields for logging in (e.g. captcha).
The attached patch allows to override the form class by adding a "form_class" argument to the view (defaults to AuthenticationForm). -- Ticket URL: <http://code.djangoproject.com/ticket/10342> Django <http://code.djangoproject.com/> 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
