mirror of
https://github.com/carrotquest/django-clickhouse.git
synced 2024-11-22 00:56:37 +03:00
Added tests on
This commit is contained in:
parent
2dab8fcccb
commit
0dbfa8fff1
|
@ -188,6 +188,4 @@ class ClickHouseModel(with_metaclass(ClickHouseModelMeta, InfiModel)):
|
|||
if last_sync_time is None:
|
||||
return True
|
||||
|
||||
print(last_sync_time)
|
||||
|
||||
return (last_sync_time - datetime.datetime.now()).total_seconds() >= cls.get_sync_delay()
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
from enum import Enum
|
||||
from infi.clickhouse_orm import fields
|
||||
|
||||
from django_clickhouse.clickhouse_models import ClickHouseModel
|
||||
from django_clickhouse.engines import MergeTree, CollapsingMergeTree
|
||||
from infi.clickhouse_orm import fields
|
||||
|
||||
from tests.models import TestModel
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user