REST interface for Django