Loosen dependency versions

* Remove explicit dependency on Django
* Loosen rest-framework to any version before 3