Skip to content

Commit 431d0e6

Browse files
committed
Update README.md
1 parent 272b97f commit 431d0e6

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,15 @@ deferring to an oauth2 provider.
88

99
## Installation
1010

11-
Step 1: Include the django-admin-oauth2 urlconf in your project's urls.py:
11+
Step 1: `pip install django-admin-oauth2` and include it in your project's requirements
12+
13+
Step 2: Include the django-admin-oauth2 urlconf in your project's urls.py:
1214

1315
```python
1416
url(r'/admin/oauth/', include('oauthadmin.urls'))
1517
```
1618

17-
Step 2: Include oauthadmin in your INSTALLED_APPS:
19+
Step 3: Include oauthadmin in your INSTALLED_APPS:
1820

1921
```python
2022
INSTALLED_APPS = (
@@ -23,7 +25,7 @@ INSTALLED_APPS = (
2325
````
2426

2527

26-
Step 3: Install the middleware in your project's settings.py:
28+
Step 4: Install the middleware in your project's settings.py:
2729

2830
```python
2931
MIDDLEWARE_CLASSES = (
@@ -33,7 +35,7 @@ MIDDLEWARE_CLASSES = (
3335

3436
*make sure that this comes AFTER 'django.contrib.sessions.middleware.SessionMiddleware'*
3537

36-
Step 4: If you are on Django 1.5 or above, you'll need to set your session serializer
38+
Step 5: If you are on Django 1.5 or above, you'll need to set your session serializer
3739
to "django.contrib.sessions.serializers.PickleSerializer" since we are storing the
3840
pickled user object in the session.
3941

@@ -42,7 +44,7 @@ SESSION_SERIALIZER = "django.contrib.sessions.serializers.PickleSerializer"
4244

4345
```
4446

45-
Step 5: Set up all the correct options (see below for available options)
47+
Step 6: Set up all the correct options (see below for available options)
4648

4749
## Settings
4850

0 commit comments

Comments
 (0)