]> git.ipfire.org Git - thirdparty/patchwork.git/commit
REST: Create 'api' directory
authorStephen Finucane <stephen@that.guru>
Mon, 31 Oct 2016 18:23:29 +0000 (18:23 +0000)
committerStephen Finucane <stephen@that.guru>
Fri, 23 Dec 2016 23:36:50 +0000 (23:36 +0000)
commit4f936cefabc77772c20b11bc2b741ece2c66ea72
tree791266762e435dbd4f20ea26ed742c43ea7f2331
parent2d0319b8e8562a341ca14cfd2650fa77496eb951
REST: Create 'api' directory

Move all REST API-related code into an 'api' directory. This allows us
to break the existing files into endpoint-based files and will allow us
to split the API into a different Django app in the future. This
involves simply shuffling code around for now, so there no functional
changes introduced.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Reviewed-by: Daniel Axtens <dja@axtens.net>
patchwork/api/__init__.py [new file with mode: 0644]
patchwork/api/base.py [new file with mode: 0644]
patchwork/api/check.py [new file with mode: 0644]
patchwork/api/patch.py [new file with mode: 0644]
patchwork/api/person.py [new file with mode: 0644]
patchwork/api/project.py [new file with mode: 0644]
patchwork/api/user.py [new file with mode: 0644]
patchwork/rest_serializers.py [deleted file]
patchwork/urls.py
patchwork/views/rest_api.py [deleted file]