diff --git a/README.rst b/README.rst index e4099bc..7707fa6 100644 --- a/README.rst +++ b/README.rst @@ -61,9 +61,7 @@ Then let's create a Client. Start django shell: ``python manage.py shell``. .. code:: python >>> from openid_provider.models import Client - >>> c = Client(name='Some Client', client_id='123', client_secret='456', client_type='public', response_type='code', redirect_uris=['http://example.com/']) - >>> from django.contrib.auth.models import User - >>> c.user = User.objects.all()[0] + >>> c = Client(name='Some Client', client_id='123', client_secret='456', client_type='confidential', response_type='code', redirect_uris=['http://example.com/']) >>> c.save() ******************* diff --git a/openid_provider/templates/openid_provider/authorize.html b/openid_provider/templates/openid_provider/authorize.html index a6f3363..e09b494 100644 --- a/openid_provider/templates/openid_provider/authorize.html +++ b/openid_provider/templates/openid_provider/authorize.html @@ -1,4 +1,4 @@ -{% extends "openid_provider/base.html" %} +{% extends "base.html" %} {% load i18n %} diff --git a/openid_provider/templates/openid_provider/base.html b/openid_provider/templates/openid_provider/base.html deleted file mode 100644 index 3c92587..0000000 --- a/openid_provider/templates/openid_provider/base.html +++ /dev/null @@ -1,70 +0,0 @@ -{% load staticfiles %} - - - -
- -{% trans 'Click on the client you want to see.' %}
-{% trans "Thanks for spending some quality time with the Web site today." %}
- -