mirror of
https://github.com/carrotquest/django-clickhouse.git
synced 2024-11-21 16:46:36 +03:00
Fixed import compatibility with new version on infi.clickhouse-orm
This commit is contained in:
parent
cf71995d44
commit
2adc9b84a0
2
setup.py
2
setup.py
|
@ -13,7 +13,7 @@ with open('requirements.txt') as f:
|
|||
|
||||
setup(
|
||||
name='django-clickhouse',
|
||||
version='1.0.0',
|
||||
version='1.0.1',
|
||||
packages=['django_clickhouse'],
|
||||
package_dir={'': 'src'},
|
||||
url='https://github.com/carrotquest/django-clickhouse',
|
||||
|
|
|
@ -7,8 +7,13 @@ from typing import Optional, Set
|
|||
from django.db import DEFAULT_DB_ALIAS as DJANGO_DEFAULT_DB_ALIAS
|
||||
from django.db.models.signals import post_migrate
|
||||
from django.dispatch import receiver
|
||||
from infi.clickhouse_orm.database import ServerError, DatabaseException
|
||||
|
||||
# In order to support all operations import here
|
||||
from infi.clickhouse_orm.migrations import *
|
||||
|
||||
from infi.clickhouse_orm.database import ServerError, DatabaseException
|
||||
from infi.clickhouse_orm.fields import StringField, DateField
|
||||
from infi.clickhouse_orm.engines import MergeTree
|
||||
from infi.clickhouse_orm.utils import import_submodules
|
||||
|
||||
from .clickhouse_models import ClickHouseModel
|
||||
|
|
Loading…
Reference in New Issue
Block a user