Update DOC.

This commit is contained in:
Juan Ignacio Fiorentino 2016-01-12 16:10:33 -03:00
parent 0c2be9e7a5
commit 0a1eecd345

4
DOC.md
View file

@ -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/'])