On 05/19/2016 04:19 AM, Finucane, Stephen wrote:
On 18 May 22:30, Andy Doan wrote:
+class PatchListSerializer(ListSerializer):
+'''Semi hack to make the list of patches more efficient'''
+def to_representation(self, data):
+del self.child.fields['content']
+del
On 18 May 22:30, Andy Doan wrote:
> This exposes patches via the REST API.
>
> Security Constraints:
> * Anyone (logged in or not) can read all objects.
> * No one can create/delete objects.
> * Project maintainers are allowed to update (ie "patch"
>attributes)
>
> NOTE: Patch.save was
This exposes patches via the REST API.
Security Constraints:
* Anyone (logged in or not) can read all objects.
* No one can create/delete objects.
* Project maintainers are allowed to update (ie "patch"
attributes)
NOTE: Patch.save was overridden incorrectly and had to be
fixed to work