hello! i need to develop s django app that connects to postgres (as default) and influxdb. Some data will be stored in influxdb and some other data will be stored into postgres. i installed all necessary packages
i wrote this configuration for the db part on settings.py but it dont works
i found this configuration, but dont know if is write:
"""
'machines': {
'INFLUXDB_HOST': 'influxdb',
'INFLUXDB_PORT': '8086',
'INFLUXDB_USERNAME': '',
'INFLUXDB_PASSWORD': '',
'INFLUXDB_DATABASE': 'testdb',
'INFLUXDB_TIMEOUT': '10'
},
"""
i have this error:
ImportError: cannot import name ‘InfluxDBClient’ from ‘influxdb’ (/home/dispater/Documents/djangotest/grafanaSED/venv/lib/python3.8/site-packages/influxdb/init.py)
any help ?