Commit Graph

167 Commits

Author SHA1 Message Date
M1ha Shvn
244b4fbd37
Added latest software versions to testing in GitHub actions (#48)
1. Added latest software versions to testing in GitHub actions
2. Fixed timezone mistakes in tests
3. Fixed naive datetime warnings
2024-01-05 15:20:10 +05:00
M1ha Shvn
b70ec45edf
Fixed conflict of model parameter and hints in DefaultRouter.allow_migrate (#46)
Fixed conflict of model parameter and hints in DefaultRouter.allow_migrate
2022-10-20 11:47:32 +03:00
M1ha Shvn
fc362e852f
Added tests on issue-42 (#45)
Fixed issue https://github.com/carrotquest/django-clickhouse/issues/42
2022-10-19 11:09:10 +03:00
M1ha.Shvn
9fb93060ef Bug fix 2022-10-19 12:32:30 +05:00
M1ha.Shvn
ac8d34c261 Added ability to add hints to RunPython and RunSQL migration operations 2022-10-19 12:24:53 +05:00
M1ha Shvn
01cec7c999
Update clickhouse_migrate.py
Fixed error in manage.py clickhouse_migrate
2021-12-16 14:22:43 +05:00
M1ha Shvn
0e65f15333
get_final_versions fixes (#38)
1. Fixed problem when get_final_version() could return 2 rows instead of 1 and insert multiple sign < 0 rows with single sign > 0
2. Fixed problem from PR https://github.com/carrotquest/django-clickhouse/pull/37, when date_col is not set for ClickHouseModel
2021-10-06 10:01:45 +05:00
M1ha Shvn
12069db14e
Fixed issue when INSTALLED_APPS settings contains AppConfig classes instead of module paths (#35)
Fixed issue when INSTALLED_APPS settings contains AppConfig classes instead of module paths
2021-10-01 17:38:10 +05:00
M1ha Shvn
0a7f0c1219
Implemented clickhouse_migrate management command (#33)
1. Implemented `clickhouse_migrate` management command
2. Ability to print more verbose output when running `manage.py migrate` django command
2021-09-25 23:00:28 +05:00
M1ha
8d8a051636 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	requirements-test.txt
2021-07-08 12:29:25 +05:00
M1ha Shvn
3fba185be2
GitHub actions testing (#29)
1. Moved testing from TravisCI to GitHub Actions
2. Added linter and fixed most style errors
3. Added development section to README
4. Added docker testing environment
2021-07-08 12:27:35 +05:00
M1ha
893ffaf17c 1. Removed six dependency
2. pytz and typing are installed for old python versions only
3. psycopg2-bynary is installed in test environment instead of psycopg2
2021-07-06 10:19:12 +05:00
M1ha Shvn
2a694ee623
Merge pull request #25 from carrotquest/fix-connection-licks-in-parallel-threads
Fixed django database connection leaking in child threads
2021-04-01 10:12:43 +05:00
M1ha-Shvn
bb9db1e9a7 Fixed django database connection leaking in child threads 2021-03-31 18:35:00 +05:00
M1ha-Shvn
a6bea15b36 1. Added debug logs for sync process
2. Micro refactoring
2021-03-31 18:22:45 +05:00
M1ha-Shvn
874eae88a0 Fixed compatibility with celery JSON serializer 2021-03-30 16:09:18 +05:00
M1hacka
2adc9b84a0 Fixed import compatibility with new version on infi.clickhouse-orm 2020-06-03 11:17:20 +05:00
M1ha
5cb43ca6cd Converted all typing hints to python 3 style 2020-02-07 12:19:53 +05:00
M1ha
210c36a127 1. Fixed bulk_update testing issue for django 2.1
2. Added python 3.8 and django 3.0 to travis testing
3. Split requirements.txt and requirements-test.txt
2020-02-07 11:14:39 +05:00
M1ha
54923e03bf Fixed issue https://github.com/carrotquest/django-clickhouse/issues/11 2020-02-07 11:07:52 +05:00
M1ha
f9e33a6845 Fixed issue https://github.com/carrotquest/django-clickhouse/issues/9 2020-02-07 10:49:49 +05:00
M1ha
818704989b Fixed issue https://github.com/carrotquest/django-clickhouse/issues/4 2020-02-06 18:57:49 +05:00
M1ha
f2dc978634 Added more docs 2020-02-06 13:39:56 +05:00
M1hacka
c0afa7b53a Merge remote-tracking branch 'origin/master' into docs
# Conflicts:
#	src/django_clickhouse/models.py
2019-12-01 17:07:02 +05:00
M1hacka
7b3287cf5c Added some docs 2019-12-01 13:33:43 +05:00
M1ha
4589230c97 Bugfix for old django, expecting manager to be instance of models.Manager 2019-10-16 10:28:59 +05:00
M1ha
746321e6b6 Bugfix for old django, expecting manager to be instance of models.Manager 2019-10-16 10:27:29 +05:00
M1ha
c58ed24187 Bugfix for old django, expecting manager to be instance of models.Manager 2019-10-16 10:27:19 +05:00
M1ha
9d8bdb74b9 Bugfix for old django, expecting manager to be instance of models.Manager 2019-10-15 18:13:42 +05:00
M1ha
fac7945ba5 Bugfix for old django, expecting manager to be instance of models.Manager 2019-10-15 18:13:14 +05:00
M1ha
a39a04fa52 Added tests and fixes for bulk_create_returning and save_returning 2019-10-04 17:54:47 +05:00
M1ha
6493373c8f Bugfix in QuerySetMixin inheritance 2019-09-11 15:35:43 +05:00
M1ha
0f1364b2b8 Bugfix in QuerySetMixin inheritance 2019-09-11 15:34:37 +05:00
M1ha
5f218d0da0 Фикс менеджера 2019-09-06 11:49:00 +05:00
M1ha
842f43b242 Added method to flush single import_key in storage 2019-07-15 17:43:36 +05:00
M1ha
85a785eb59 Opportunity to pass database data as strings without formatting 2019-07-15 16:56:16 +05:00
M1ha
37712b4156 Fixing test bug 2019-06-28 13:33:22 +05:00
M1ha
8b9e2332db Searching bug in datetime 2019-06-28 13:10:29 +05:00
M1ha
355b8c7321 Fix python 3.6 namedtuple compatibility 2019-06-28 11:09:17 +05:00
M1ha
04c5ba292a Bugfix in installing migrations 2019-06-27 16:41:25 +05:00
M1ha
fafcbe4c93 Fixed python 3.7 compatibility issues 2019-06-26 12:24:46 +05:00
M1ha
ae253e0587 Багфиксы совместимости с python 3.7 2019-06-25 18:10:04 +05:00
M1ha
10fae9220c Added database parameters from infi.clickhouse_orm 1.0.4 2019-03-25 10:17:13 +05:00
M1ha
2798cbb602 Fixed bug with batched insert_tuple 2019-02-15 17:42:04 +05:00
M1ha
ab2fe24f74 Added request data logging in debug mode 2019-02-15 15:52:16 +05:00
M1ha
e436ae977b Fix for current clickhouse version 2019-02-15 15:43:59 +05:00
M1ha
90ec66f380 Changed model_to_dict, so it doesn't require _meta attribute,
if fields are given
2019-02-07 11:41:20 +05:00
M1ha
8d31209a58 Trying to fix queue monitoring increment bug 2019-02-06 17:47:54 +05:00
M1ha
4249b0e2b9 Measure time for inserting tuples 2019-02-05 15:17:37 +05:00
M1ha
ef6fc46c5c Measure time for inserting tuples 2019-02-05 15:13:15 +05:00