Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-rest-framework
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
django-rest-framework
Commits
ddc8c303
Commit
ddc8c303
authored
Sep 03, 2012
by
Tom Christie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleaner documentation around installation of optional packages
parent
0ef6b1c1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
docs/index.md
+6
-2
optionals.txt
+2
-0
No files found.
docs/index.md
View file @
ddc8c303
...
...
@@ -19,20 +19,24 @@ REST framework requires the following:
The following packages are optional:
*
[
Markdown
][
markdown
]
(2.1.0+) - Markdown support for the self describing API.
*
[
PyYAML
][
yaml
]
(3.10+) - YAML content
type support.
*
[
PyYAML
][
yaml
]
(3.10+) - YAML content
-
type support.
## Installation
**WARNING: These instructions will only become valid once this becomes the master version**
Install using
`pip`
...
Install using
`pip`
, including any optional packages you want
...
pip install djangorestframework
pip install markdown # Recommended if using the browseable API.
pip install pyyaml # Required for yaml content-type support.
...or clone the project from github.
git clone git@github.com:tomchristie/django-rest-framework.git
cd django-rest-framework
pip install -r requirements.txt
pip install -r optionals.txt
Add
`djangorestframework`
to your
`INSTALLED_APPS`
.
...
...
optionals.txt
0 → 100644
View file @
ddc8c303
markdown>=2.1.0
PyYAML>=3.10
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment