Initial REST API methods for get, post, put and delete resources
Initial flexible json solution implementation
Initial endpoint for json-ld and json-schema (need more work here in follow up PRs)
pagination using PageNumberPagination
current issues:
test_rest needs to run a function to force the registration of resource types because the urls.py (where the registrations occur) is just called once and at each database empty data (PS: --reuse-db flag didn't work as expected)
test call just with the directory path didn't work due to a safety-dance issue. CI tests each test module individually.
PS: json-ld and json-schema endpoint was not properly created (the current output is just an empty dictionary). probably this implementation would be better in a follow up PR.
This PR aims to implement:
get
,post
,put
and delete resourcescurrent issues:
urls.py
(where the registrations occur) is just called once and at each database empty data (PS:--reuse-db
flag didn't work as expected)Resolve #8