diff options
| author | Tom Christie | 2012-09-20 13:06:27 +0100 | 
|---|---|---|
| committer | Tom Christie | 2012-09-20 13:06:27 +0100 | 
| commit | 4b691c402707775c3048a90531024f3bc5be6f91 (patch) | |
| tree | 3adfc54b0d8b70e4ea78edf7091f7827fa68f47b /docs/index.md | |
| parent | a1bcfbfe926621820832e32b0427601e1140b4f7 (diff) | |
| download | django-rest-framework-4b691c402707775c3048a90531024f3bc5be6f91.tar.bz2 | |
Change package name: djangorestframework -> rest_framework
Diffstat (limited to 'docs/index.md')
| -rw-r--r-- | docs/index.md | 12 | 
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/index.md b/docs/index.md index 2376d38e..e7db5dbc 100644 --- a/docs/index.md +++ b/docs/index.md @@ -40,20 +40,22 @@ Install using `pip`, including any optional packages you want...      pip install -r requirements.txt      pip install -r optionals.txt -Add `djangorestframework` to your `INSTALLED_APPS`. +Add `rest_framework` to your `INSTALLED_APPS`.      INSTALLED_APPS = (          ... -        'djangorestframework',         +        'rest_framework',              )  If you're intending to use the browserable API you'll want to add REST framework's login and logout views.  Add the following to your root `urls.py` file.      urlpatterns = patterns('',          ... -        url(r'^api-auth/', include('djangorestframework.urls', namespace='djangorestframework')) +        url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework'))      ) -  + +Note that the base URL can be whatever you want, but you must include `rest_framework.urls` with the `rest_framework` namespace. +  ## Quickstart  **TODO** @@ -110,7 +112,7 @@ Build the docs:  Run the tests: -    ./djangorestframework/runtests/runtests.py +    ./rest_framework/runtests/runtests.py  ## License  | 
