Skip to content

Instantly share code, notes, and snippets.

View bjornuppeke's full-sized avatar

Björn Uppeke bjornuppeke

  • Helicon Technologies
  • Stockholm
View GitHub Profile
@dedsm
dedsm / timescale--db--backend--base.py
Last active April 24, 2024 14:15
WeRiot Django Timescale integration
import logging
from django.contrib.gis.db.backends.postgis.base import \
DatabaseWrapper as PostgisDBWrapper
from django.db import ProgrammingError
from .schema import TimescaleSchemaEditor
logger = logging.getLogger(__name__)