On Tue, Jun 30, 2015 at 4:38 PM, Tim Graham <timogra...@gmail.com> wrote:
> There's a proposal [1] to add a new method to the test client that works
> like login(), but skips the authentication (no credentials need to be
> provided) and verification (is_active=False can login) steps. The signature
> is (user, backend=None). What would you name this method?
>
> Proposals so far:
> * force_login() (since this method bypasses authentication and other checks
> login() has)

+1 for force_login()

--Berker

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
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/CAF4280KNLaH6fdBrOQ3U6kRidhMeo%2B1iEpZeHKNJ9_r%2B4f46KA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to