dcramer/django-sentry — comment on commit c7414870d6f8a0af14d4037981f9887edd65204a
File: sentry/utils/manager.py line 234
By buriy:

hour groupby doesn't work for sqlite, so use this hack: https://github.com/buriy/django-sentry/commit/59b8ad56f80a5a4f2f67494a6c9e22901b8713bd (code itself is correct and modeled on django code, but probably my conn.connection.create_function() monkeypatching should be improved)