Database engine detection fails with PostgreSQL
It appears that engine detection lead to a DatabaseError in my environment for time_series.
The error raised is "current transaction is aborted, commands ignored until end of transaction block". If I comment the first test and directly run the _slow_time_series it doesn't raise any error.
Maybe you should check directly from settings to avoid the try/except part?