Update DOC.
This commit is contained in:
parent
0c2be9e7a5
commit
0a1eecd345
1 changed files with 3 additions and 1 deletions
4
DOC.md
4
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/'])
|
||||
|
|
Loading…
Reference in a new issue