Here is a sample of configuration settings for trusted authentication.
INSTALLED_APPS = INSTALLED_APPS + ('trustedauth',)
AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.ModelBackend',
'trustedauth.backends.TrustedAuthBackend'
)
TRUSTED_AUTH = {
'trusted_ips': ['127.0.0.1'],
'trusted_users': ['tadmin'],
'timeout': 120,
'single_use': True,
'session_expiry': 0,
'allow_superuser': True
}