Update DOC.md
This commit is contained in:
parent
7f373b89b9
commit
497123d37f
1 changed files with 2 additions and 0 deletions
2
DOC.md
2
DOC.md
|
@ -227,6 +227,8 @@ 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.
|
||||
|
||||
![Client Creation](http://i64.tinypic.com/2dsfgoy.png)
|
||||
|
||||
```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/'])
|
||||
|
|
Loading…
Reference in a new issue