* 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.