You can either use
pip to install or clone the project from github.
pip install djangorestframework
git clone firstname.lastname@example.org:tomchristie/django-rest-framework.git
After installing, you need to add
rest_framework to your
INSTALLED_APPS = ( ... 'rest_framework', )
If you're intending to use the browsable API you'll probably also want to add REST framework's login and logout views. Add the following to your root urls.py file.
urlpatterns = [ ... url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')) ]