Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Django REST framework makes it easy to build well-connected, self-describing RESTful Web APIs.
Python CSS JavaScript

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
djangorestframework
docs
examples
testproject
.hgignore
AUTHORS
README
requirements.txt
setup.py

README

# To install django-rest-framework in a virtualenv environment...

hg clone https://tomchristie@bitbucket.org/tomchristie/django-rest-framework
cd django-rest-framework/
virtualenv --no-site-packages --distribute --python=python2.6 env
source ./env/bin/activate
pip install -r requirements.txt # django, pip

# To run the tests...

cd testproject
export PYTHONPATH=..
python manage.py test djangorestframework

# To run the examples...

pip install -r examples/requirements.txt # pygments, httplib2, markdown
cd examples
export PYTHONPATH=..
python manage.py syncdb
python manage.py runserver

# To build the documentation...

pip install -r docs/requirements.txt   # sphinx
sphinx-build -c docs -b html -d docs/build docs html
Something went wrong with that request. Please try again.