blokes and sheilas dating Www backgrounddating com

django-qrauth allows you to easily spice up your website with instant user authentication: once a user has signed in on their Mac or PC, they can pick up their smartphone (or tablet, i Pod, etc: actually, anything that has Internet access, a camera and a QR code scanning application should work), scan a QR code (which appears on the display after the user clicks the corresponding link) and immediately sign in on their smartphone or other mobile device they use (so they don’t have to enter the site address, nor their login/email, nor password).Nice QR codes that allow the users to instantly sign in to the website on their mobile devices What is django-qrauth?

v=6ob3o R_Frhk) (in Russian) and in [this blog post]( (also in Russian). Installation============Step 1------Install [Redis]( 2------Install django-qrauth: pip install django-qrauth Step 3------Open your templates directory and add the following templates: qrauth/invalid_and qrauth/For example:**qrauth/invalid_code.html** {% extends "base.html" %} {% block title %}Invalid QR code{% endblock %} {% block content %} {% endblock %}Step 4------Open your root urlconf (the module is specified in the ROOT_URLCONF setting) and include the URLs used by the qrauth application: urlpatterns = patterns('', # … )Configuration=============You may also want to set a custom expiration time.Each QR code is valid for 300 seconds (5 minutes) by default.If you want to change this behavior, change the value of AUTH_QR_CODE_EXPIRATION_TIME setting. For example: AUTH_QR_CODE_EXPIRATION_TIME = 600 # Ten minutes If you want to specify the page where the user should be redirected after successfully signing in with a QR code, you have to set the URL using the AUTH_QR_CODE_REDIRECT_URL setting.For example: AUTH_QR_CODE_REDIRECT_URL = "/welcome/"The user is redirected to "/" by default (which is usually the index page).

If you need to specify custom Redis connection settings, you can use the AUTH_QR_CODE_REDIS_KWARGS setting.It is a dictionary of keyword arguments that are passed to the redis.Strict Redis class when initializing Redis connections.For example: AUTH_QR_CODE_REDIS_KWARGS = { "host": "localhost", "port": 6379, "db": 0, }Also, make sure that [LOGIN_URL]( has a correct value.Otherwise, users can be redirected to a page that does not exist (for example, if someone not authenticated tries to open the page with the QR code).How to test===========If you want to test this locally, make sure that your local web server is available from your mobile device.