* Add custom TestUUIDModel for auto tests
* Update Binding to support models with UUIDField as primary key
Add and fix test_trigger_outbound_create_non_auto_pk.
Before updating pre_save_receiver, this new test failed with this error:
======================================================================
FAIL: test_trigger_outbound_create_non_auto_pk
(channels.tests.test_binding.TestsBinding)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\User\git\contribs\python\channels\channels\tests\test_binding.py", line 85, in test_trigger_outbound_create_non_auto_pk
self.assertEqual(received['payload']['action'], 'create')
AssertionError: u'update' != u'create'
* 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
* fixed usage of group_names in *_change_receiver
group_names was missing second arg (action)
* fixed group_names to include action
* made group_names a classmethod
* Implement the data binding behaviour from Django DDP.
Correct dispatch of create/update/delete according to how group_names change
when compared between pre and post save/delete.
* Fix tests for databinding improvements.
* 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
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.