For some reason Msg's LockHandler was not assigned. Resolves #855.
This commit is contained in:
parent
e67c2bb7d7
commit
6db109c333
1 changed files with 4 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue