QRGeneratorView.as_view(), name='qr', ), path( 'account/two_factor/setup/complete/', SetupCompleteView.as_view(), name='setup_complete', ), path( 'account/two_factor/backup/tokens/', BackupTokensView.as_view(), name='backup_tokens', ), path( 'account/two_factor/backup/phone/register/', PhoneSetupView.as_view(), name='phone_create', ), path( 'account/two_factor/backup/phone/unregister/<int:pk>/', PhoneDeleteView.as_view(), name='phone_delete', ), path( 'account/two_factor/manage_keys/', ManageKeysView.as_view(), name='manage_keys', ), ] profile = [
view=SetupView.as_view(), name='setup', ), url( regex=r'^account/two_factor/setup/complete/$', view=SetupCompleteView.as_view(), name='setup_complete', ), url( regex=r'^account/two_factor/backup/tokens/$', view=BackupTokensView.as_view(), name='backup_tokens', ), url( regex=r'^account/two_factor/backup/phone/register/$', view=PhoneSetupView.as_view(), name='phone_create', ), url( regex=r'^account/two_factor/backup/phone/unregister/(?P<pk>\d+)/$', view=PhoneDeleteView.as_view(), name='phone_delete', ), ) twilio = patterns( '', url( regex=r'^twilio/inbound/two_factor/(?P<token>\d+)/$', view=TwilioCallApp.as_view(), name='twilio_call_app',
name='qr', ), path( 'two_factor/setup/complete/', SetupCompleteView.as_view(template_name='mfa/setup_complete.html'), name='setup_complete', ), path( 'two_factor/backup/tokens/', BackupTokensView.as_view(template_name='mfa/backup_tokens.html', success_url='backup_tokens'), name='backup_tokens', ), path( 'two_factor/backup/phone/register/', PhoneSetupView.as_view(template_name='mfa/phone_register.html'), name='phone_create', ), path( 'account/two_factor/backup/phone/unregister/<int:pk>/', PhoneDeleteView.as_view(), name='phone_delete', ), path( 'account/two_factor/disable/', view=DisableView.as_view(template_name='mfa/disable.html'), name='disable', ), ## USER REGISTRATION ## path('register/',