How to set up a policy to use Django two-factor auth for all logins?

I've a website which I want to protect behind 2FA completely (email only). I've seen in the docs that it's possible with django-two-factor-auth, but not implemented.

How can I implement this?

Вернуться на верх