add worker-based precalculation of cashbook-values
This commit is contained in:
parent
fb0ef72d07
commit
5a23ac3c52
17 changed files with 1058 additions and 88 deletions
15
mixin.py
15
mixin.py
|
@ -196,18 +196,3 @@ class SecondCurrencyMixin:
|
|||
return 2
|
||||
|
||||
# end SecondCurrencyMixin
|
||||
|
||||
|
||||
class MemCacheIndexMx:
|
||||
""" add index to 'create_date' + 'write_date'
|
||||
"""
|
||||
__slots__ = ()
|
||||
|
||||
@classmethod
|
||||
def __setup__(cls):
|
||||
super(MemCacheIndexMx, cls).__setup__()
|
||||
# add index
|
||||
cls.write_date.select = True
|
||||
cls.create_date.select = True
|
||||
|
||||
# end MemCacheIndexMx
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue