Commit Graph

10 Commits

Author SHA1 Message Date
Tom Hacohen
794b5f3983 Fix many type errors. 2020-12-29 13:32:19 +02:00
Tom Hacohen
ca7f2ec73c When converting from ORM convert binary fields to bytes.
The problem is that some ORMs return memoryview which are more efficient but
are not supported by pydantic at the moment.
2020-12-28 16:42:39 +02:00
Tom Hacohen
b081d0129f Add support for read/write permissions. 2020-12-28 16:42:39 +02:00
Tom Hacohen
4b4be14d32 Add more responses to the API. 2020-12-28 10:01:19 +02:00
Tom Hacohen
a75d5479fa Rename ValidationError to HttpError. 2020-12-28 09:51:34 +02:00
Tom Hacohen
6517fc5db2 More route tags to a central place. 2020-12-28 09:35:27 +02:00
Tom Hacohen
80d69a5663 Fix collection list and how we return API responses. 2020-12-28 09:31:30 +02:00
Tom Hacohen
9f26ecf276 API: add documentation tags. 2020-12-28 09:04:45 +02:00
Tom Hacohen
df19887af7 Use dependency injection for getting collection/item queryset. 2020-12-27 22:40:48 +02:00
Tom Hacohen
b70f2b7470 Invitations: implement invitations endpoints. 2020-12-27 21:15:22 +02:00