On 05/09/2016 08:27 AM, Finucane, Stephen wrote:
On 15 Apr 13:24, Andy Doan wrote:
>DRF lends its self to a lot of repetitive code like:
>
> Serializer:
>Meta:
> model = Foo
>
> ViewSet:
> queryset = Foo.objects
>
>
>This reduces the amount of boiler plate code needed for most of
On 15 Apr 13:24, Andy Doan wrote:
> DRF lends its self to a lot of repetitive code like:
>
> Serializer:
>Meta:
> model = Foo
>
> ViewSet:
> queryset = Foo.objects
>
>
> This reduces the amount of boiler plate code needed for most of our
> endpoints so that its easier to audit.
>
DRF lends its self to a lot of repetitive code like:
Serializer:
Meta:
model = Foo
ViewSet:
queryset = Foo.objects
This reduces the amount of boiler plate code needed for most of our
endpoints so that its easier to audit.
Signed-off-by: Andy Doan
---
patchwork/views/rest_api.py