Skip to content

Instantly share code, notes, and snippets.

View ronaldgrn's full-sized avatar
🦊
cache all the things

Petronald Green ronaldgrn

🦊
cache all the things
View GitHub Profile
@ronaldgrn
ronaldgrn / timescale--db--backend--base.py
Created June 23, 2020 00:46 — forked from dedsm/timescale--db--backend--base.py
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__)