wired up basic djangorestframework functionality