Catch exception in redirect as pointed out by mgorny at PR #41
Merge pull request #45 from tampakrap/noreversematch

Catch exception in redirect as pointed out by mgorny at PR #41
Merge pull request #46 from mgorny/views-no-import

urls: import the whole module rather than single views.
Introduce dependency on django_otp.
Introduce initial code for two-phase auth support.

This commit adds a simple NoOTPDevice model that currently serves
the purpose of responding successfully to any request. The login view
has been extended with proper OTP device setup and initial verification
support.
Introduce a dummy token input.
Support TOTP with database storage (temporarily).

A dedicated database model is used to store the secrets. If user does
not have a secret, it is assumed that he disabled OTP.
Introduce 'otp-setup', to set TOTP up.
Support displaying QRCode for TOTP URI.