For some reason Msg's LockHandler was not assigned. Resolves #855.

This commit is contained in:
Griatch 2015-11-01 17:51:00 +01:00
parent e67c2bb7d7
commit 6db109c333

View file

@ -119,6 +119,10 @@ class Msg(SharedMemoryModel):
"Define Django meta options"
verbose_name = "Message"
@lazy_property
def locks(self):
return LockHandler(self)
# Wrapper properties to easily set database fields. These are
# @property decorators that allows to access these fields using
# normal python operations (without having to remember to save()