* pass save's kwargs to serialize
So it can access update_fields
* added short explanation
* added missing kwargs
* use update_fields to filter fields to serialize
* save kwargs on self
* get signal_kwargs from self
* whitespace
* just save signal_kwargs on self+removed left over kwargs
* Added groups as Binding attr for easy groups_names definition
* Binding: inbound - updating fields that only in fields attribute
* Added tests for inbound part of binding #343
* Fix for flake8 checker
* Revert "Added groups as Binding attr for easy groups_names definition"
This reverts commit 009b4adbee534d4ccbea191ce2523a0edb09d407.
* Using group_names at inbound tests
* Fix member serialization in WebsocketBindingWithMembers
* pep fixes
* allow usage of 'dot'-notation in send_members
* replace dots for dictionary
* single quotes
* Added get_handler
Added a get_handler method that applies decorators to the consumer-classmethod
* added imports for decorators
* Added get_handler to WebsocketBinding
* Fixed missing import
* channel_session_user defaults to True
* removed user-transfer from http
would only work in a connect-method
* removed unused import
* Added WebsocketBindingWithMembers
WebsocketBindingWithMembers inherits WebsocketBinding and additionally enables sending of member variables, properties and methods.
* pep fixes
* pep fixes
* Changed to Mixin
More flexible this way; also checking if members are callable now, not just a try-except.
* moved BindingWithMembersMixin to base.py
* moved BindingWithMembersMixin to base.py
* undo moving to base.py
* undo moving to base.py; undo Mixin
* use DjangoJSONEncoder to serialize members
* missing self
* removed nasty whitespace
Atm WebsocketBinding sends every field of a model, even the password of a user. Users of the class should have to think about which fields they want to send to the user. Also added a more intuitive option for sending all fields.