daphne/channels/binding
Pierre Chiquet 95c9925fe4 Update Binding to support models with UUIDField as primary key (#528)
* 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'
2017-02-14 09:48:00 -08:00
..
__init__.py Fix QA error 2016-07-14 23:53:08 -07:00
base.py Update Binding to support models with UUIDField as primary key (#528) 2017-02-14 09:48:00 -08:00
websockets.py Accept Connection at WebsocketConsumer (#467) 2017-01-09 10:08:00 -08:00