mirror of
https://github.com/carrotquest/django-clickhouse.git
synced 2024-11-22 00:56:37 +03:00
Added database parameters from infi.clickhouse_orm 1.0.4
This commit is contained in:
parent
2798cbb602
commit
10fae9220c
|
@ -17,7 +17,8 @@ class Database(InfiDatabase):
|
|||
def __init__(self, **kwargs):
|
||||
infi_kwargs = {
|
||||
k: kwargs[k]
|
||||
for k in ('db_name', 'db_url', 'username', 'password', 'readonly', 'autocreate')
|
||||
for k in ('db_name', 'db_url', 'username', 'password', 'readonly', 'autocreate', 'timeout',
|
||||
'verify_ssl_cert')
|
||||
if k in kwargs
|
||||
}
|
||||
super(Database, self).__init__(**infi_kwargs)
|
||||
|
|
Loading…
Reference in New Issue
Block a user