`authenticate()` is actually more general than that - it takes **kwargs
depending on the auth backend. Might want to make things clearer in the
docs for that though.

Marc


On 30 July 2014 16:15, Justin Holmes <[email protected]> wrote:

> See the example provided for login(), here:
>
>
> https://docs.djangoproject.com/en/dev/topics/auth/default/#django.contrib.auth.login
>
> It seems to assume that the USERNAME_FIELD is 'username' - ie, that no
> custom User model is in place.
>
> I propose adding language here to make it clear that 'username' is
> actually USERNAME_FIELD.  Without objection, I'm happy to make the
> Pull Request.
>
> Thoughts?
>
> --
> Justin Holmes
> Chief Chocobo Breeder, slashRoot
>
> slashRoot: Coffee House and Tech Dojo
> New Paltz, NY 12561
> 845.633.8330
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-developers/CAMGywB5F7dELNDvVkyHrM4U4nW%3DZh%3DyvgD8B%3DAow7NZQB1Ka-Q%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/CAMwjO1GZBweUKqhUjUChbbZZP1AbfRSUuvL6mCE8b%3DDU1c3qPA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to