]> git.ipfire.org Git - thirdparty/patchwork.git/commit
REST: Add base configuration hooks for a REST API
authorAndy Doan <andy.doan@linaro.org>
Thu, 16 Jun 2016 21:13:17 +0000 (16:13 -0500)
committerStephen Finucane <stephen.finucane@intel.com>
Mon, 27 Jun 2016 17:19:08 +0000 (18:19 +0100)
commit92b6e6a39595841782b967e34e9b3bdebefbf1ec
tree3846790c3aea7cf5f8c7e093cfd6c1942fa353af
parent6f283ef361bd58120a527b917a18d4207053f348
REST: Add base configuration hooks for a REST API

This adds the ability to expose a REST API based on the Django REST
framework project. Since this project isn't packaged in most current
distributions, we ensure that its both installed and enabled before
trying to use it.

Signed-off-by: Andy Doan <andy.doan@linaro.org>
Inspired-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Stephen Finucane <stephen.finucane@intel.com>
patchwork/settings/base.py
patchwork/settings/dev.py
patchwork/urls.py
patchwork/views/rest_api.py [new file with mode: 0644]
requirements-test.txt