* 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
* Relative imports at the base of generic
* Added as_route method to generic consumers
* Tests for as_route method for generic consumers
* Now as_route method does not create new object + less verbose creating new object (tests)
* Fix flake8 version
* Fix blank line (flake8)
* Separate kwargs of as_route method as filters and nonfilters kwargs.
* `kwargs` for filters and `attrs` for class body at `as_route` method
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.
If the declaration of a binding happens after the ``ready``-method of channels has run, the binding was not registered. With this it will be registered at declaration. This also ensures that no registration happens before the ``ready``-method runs.