From 0a1eecd34586669d312e118e0eaa9263e4642269 Mon Sep 17 00:00:00 2001 From: Juan Ignacio Fiorentino Date: Tue, 12 Jan 2016 16:10:33 -0300 Subject: [PATCH] Update DOC. --- DOC.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/DOC.md b/DOC.md index 4feca0e..f16645c 100644 --- a/DOC.md +++ b/DOC.md @@ -225,10 +225,12 @@ If you want to test the provider without getting to deep into this topics you ca Create a user with: ``python manage.py createsuperuser``. -And then create a Client with django shell: ``python manage.py shell``. Or use Django admin if you have it enabled. +To create clients use Django admin (if you have it enabled): ![Client Creation](http://i64.tinypic.com/2dsfgoy.png) +Or create a client with Django shell: ``python manage.py shell``: + ```python >>> from oidc_provider.models import Client >>> c = Client(name='Some Client', client_id='123', client_secret='456', response_type='code', redirect_uris=['http://example.com/'])