{% extends "base.html" %} {% block content %}

This demo works with Sandbox mode only.

Please set

ODNOKLASSNIKI_APP_ID
,
ODNOKLASSNIKI_APP_PUBLIC_KEY
and
ODNOKLASSNIKI_APP_SECRET
in your
settings.py
. Also set
LOGIN_URL = '/ok/'
Then edit your sandbox app that it point to the
http://localhost:8000/ok/
, start your server with
python manage.py runserver
and open your sandbox app. You should see the name of your sandbox user.

{% endblock %}