Specifies a version for django rest framework

This is because of a bug, and should be removed as soon as it is fixed.
https://github.com/tomchristie/django-rest-framework/issues/1237