From 05a53a6ee2e0970177ac3a2849f18a147fd71b72 Mon Sep 17 00:00:00 2001 From: Juan Ignacio Fiorentino Date: Fri, 9 Jan 2015 18:10:48 -0300 Subject: [PATCH] Edit README. --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 30e00c2..fb6cedd 100644 --- a/README.rst +++ b/README.rst @@ -61,7 +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', grant_type='authorization_code', response_type='code', redirect_uris=['http://example.com/']) + >>> 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.save()