Skip to content

Conversation

mgu
Copy link
Contributor

@mgu mgu commented Mar 23, 2017

In order to return a serialized Presets list, we tried to instantiate
presets with arguments=[]. But checks are done in Presets.__init__
on the arguments provided. This resulted in an ImproperlyConfigured
Exception.

The Serializer now takes the class as instance parameter instead of an
object.

In order to return a serialized Presets list, we tried to instantiate
presets with `arguments=[]`. But checks are done in `Presets.__init__`
on the arguments provided. This resulted in an `ImproperlyConfigured`
Exception.

The Serializer now takes the class as `instance` parameter instead of an
object.
@mgu mgu self-assigned this Mar 23, 2017
Copy link
Contributor

@wo0dyn wo0dyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't spot any issue. LGTM.

@mgu mgu merged commit 3dc3145 into master Mar 24, 2017
@mgu mgu deleted the fix-presets-list branch March 24, 2017 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants