setting up django rest framework so that it can hook into angularjs