Benedikt Willi
66387f433a
Add support for JSONField in modeltranslation/fields.py and update_translation_fields command and add tests for JSONField support.
2023-06-01 22:08:16 +02:00
Benedikt Willi
e5fb74c520
Added missing new line at the end of test.yml, use implicit call to parent class, added another testcase where created is True.
2023-05-30 14:19:49 +02:00
Benedikt Willi
ac905c01c8
Add update_or_create method to MultilingualQuerySet and add test for it in ModeltranslationTest class.
2023-05-30 12:07:18 +02:00
Serhii Tereshchenko
4f961bf1b8
Merge pull request #681 from deschler/dependabot/pip/django-3.2.19
...
build(deps): bump django from 3.2.17 to 3.2.19
2023-05-19 14:08:25 +03:00
dependabot[bot]
69090f8e3f
build(deps): bump django from 3.2.17 to 3.2.19
...
Bumps [django](https://github.com/django/django ) from 3.2.17 to 3.2.19.
- [Commits](https://github.com/django/django/compare/3.2.17...3.2.19 )
---
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-19 10:49:52 +00:00
Serhii Tereshchenko
21256102fc
Merge pull request #680 from deschler/dependabot/pip/sqlparse-0.4.4
...
build(deps): bump sqlparse from 0.4.3 to 0.4.4
2023-05-19 13:47:25 +03:00
dependabot[bot]
f8d8199550
build(deps): bump sqlparse from 0.4.3 to 0.4.4
...
Bumps [sqlparse](https://github.com/andialbrecht/sqlparse ) from 0.4.3 to 0.4.4.
- [Release notes](https://github.com/andialbrecht/sqlparse/releases )
- [Changelog](https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG )
- [Commits](https://github.com/andialbrecht/sqlparse/compare/0.4.3...0.4.4 )
---
updated-dependencies:
- dependency-name: sqlparse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-21 22:35:25 +00:00
Serg Tereshchenko
0735755070
chore: Update dev deps
2023-02-09 10:42:02 +02:00
Serg Tereshchenko
6ed72902fd
chore(release): 0.18.9
2023-02-09 10:39:33 +02:00
Serg Tereshchenko
f0fb6ebd8d
chore: Update formatting
2023-02-09 10:38:43 +02:00
Serhii Tereshchenko
3c0735ca96
Merge pull request #671 from th3hamm0r/fix/queryset-values-with-expressions
...
fix: Fix handling of expressions in `values()`/`values_list()`
2023-02-09 10:37:32 +02:00
Stefan Hammer
d65ff60007
fix: Fix handling of expressions in values()/values_list()
...
This basically duplicates some code from django's implementation.
Refs #670
2023-02-08 16:53:35 +01:00
Serg Tereshchenko
943e90226c
chore(release): 0.18.8
2023-02-01 10:51:09 +02:00
Serg Tereshchenko
0878068b37
chore(release): 0.18.8-beta.1
2023-01-27 15:07:16 +02:00
Gabriele Baldi
f69e3172bc
feat: Add support for ManyToManyFields 🧑🤝🧑 ( #668 )
2023-01-27 15:05:18 +02:00
Mathieu Dhondt
c8fd780523
Update README.rst ( #666 )
...
Added a link to documentation on read the docs.
2022-12-24 14:39:13 +02:00
Philipp
ca31a21f01
fix(docs): Update documentation regarding inheritance ( #665 )
...
Closes #663
2022-11-28 14:41:44 +02:00
Serg Tereshchenko
bd18fa4da8
chore(release): 0.18.8-beta.0
2022-11-22 16:52:36 +02:00
Serg Tereshchenko
4f690ab772
chore: Apply black
2022-11-22 16:40:51 +02:00
Serg Tereshchenko
8eeb8c641c
chore: Update deps
2022-11-22 16:39:59 +02:00
Serg Tereshchenko
2728771ac6
chore: Update dev deps
2022-11-22 16:37:39 +02:00
Serg Tereshchenko
66624db544
chore: Add pyright config
2022-11-22 16:37:24 +02:00
Philipp
fcfbd5ce05
fix: Fix admin widget for fk fields ( #662 )
...
Refs #660
2022-11-22 16:21:00 +02:00
dependabot[bot]
5ab3a45af6
build(deps): bump django from 3.2.15 to 3.2.16 ( #659 )
...
Bumps [django](https://github.com/django/django ) from 3.2.15 to 3.2.16.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/3.2.15...3.2.16 )
---
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-09 09:46:33 +00:00
Serg Tereshchenko
50702bb36f
chore(release): 0.18.7
2022-11-08 16:24:08 +02:00
Serhii Tereshchenko
e0ffab0d46
chore: Add typing-extensions dependency ( #658 )
2022-11-08 14:23:41 +00:00
Maksudul Haque
4927b6cb63
Make Context Managers (fallbacks and auto_populate) Thread Safe ( #657 )
2022-11-08 14:13:17 +00:00
Serg Tereshchenko
57b1c33af6
chore(release): 0.18.6
2022-11-07 11:24:53 +02:00
Michal Dabski
09ce0e076b
fix: Fix unexpected ordering after values()/values_list() followed by order_by().
...
Refs #655
Refs #656
2022-11-07 09:24:04 +00:00
Serg Tereshchenko
285c855de8
chore(release): 0.18.5
2022-10-12 15:21:25 +03:00
Lukáš Letovanec
d414cd3e07
feat: Support UserAdmin add_fieldsets
...
Refs #654
2022-10-12 12:20:57 +00:00
dependabot[bot]
6aa2ff0816
build(deps): bump django from 3.2.14 to 3.2.15 ( #650 )
...
Bumps [django](https://github.com/django/django ) from 3.2.14 to 3.2.15.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/3.2.14...3.2.15 )
---
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-03 21:56:33 +03:00
Tim Gates
ab79ec8512
docs: Fix a few typos ( #651 )
...
There are small typos in:
- docs/modeltranslation/admin.rst
- docs/modeltranslation/installation.rst
- docs/modeltranslation/related_projects.rst
- modeltranslation/admin.py
- modeltranslation/management/commands/sync_translation_fields.py
- modeltranslation/tests/models.py
Fixes:
- Should read `similar` rather than `similiar`.
- Should read `whose` rather than `whos`.
- Should read `original` rather than `orginal`.
- Should read `missing` rather than `missings`.
- Should read `consistent` rather than `consistant`.
- Should read `compatibility` rather than `compatibiliy`.
Signed-off-by: Tim Gates <tim.gates@iress.com>
2022-09-03 21:56:06 +03:00
Kazantcev Andrey
8ef8afd2d7
fix: Fix working in strict mode. ( #649 )
2022-08-05 16:06:31 +03:00
Serg Tereshchenko
654d5b65c1
chore(release): 0.18.4
2022-07-22 11:36:25 +03:00
Serhii Tereshchenko
1271e88f17
Merge pull request #647 from deschler/django-compatibility
...
fix: Update django compatibility
2022-07-22 11:35:55 +03:00
Serg Tereshchenko
582b612ab5
fix: Update django compatibility
2022-07-22 11:31:17 +03:00
Serg Tereshchenko
0616118824
chore(release): 0.18.3
2022-07-19 12:33:46 +03:00
Serg Tereshchenko
9e1acc4ee4
chore: Remove tox.ini; move flake8 config to setup.cfg
2022-07-13 23:20:33 +03:00
Serhii Tereshchenko
d1d3c5cdc3
Merge pull request #646 from deschler/remove-six
...
fix: Remove six (old compat layer for python2)
2022-07-13 23:18:07 +03:00
Serg Tereshchenko
86b67c271e
fix: Remove six (old compat layer for python2)
2022-07-13 23:14:28 +03:00
Serg Tereshchenko
10d2f123c8
chore(release): 0.18.3-beta.1
2022-07-13 20:05:12 +03:00
Serg Tereshchenko
a8e5d24b11
cleanup: Remove obsolete code for old django in loaddata command
2022-07-13 20:04:39 +03:00
Serhii Tereshchenko
fba75cca07
Merge pull request #645 from deschler/pytest
...
feat(dev): Migrate to pytest
2022-07-13 19:55:37 +03:00
Serg Tereshchenko
89abad769c
cleanup: Remove six from tests; Remove get_query_set; Remove unused has_custom_queryset
2022-07-13 19:49:54 +03:00
Serg Tereshchenko
426a8f5ff6
cleanup: Remove obsolete skipUnless
2022-07-13 19:39:16 +03:00
Serg Tereshchenko
480cdcfaf9
refactor: Use pytest assertions
...
This was mostly converted automatically with
pipx run unittest2pytest modeltranslation/tests -w
And some manual fixes.
2022-07-13 19:37:44 +03:00
Serg Tereshchenko
d3e2396be6
feat(dev): Migrate to pytest
2022-07-13 19:02:47 +03:00
Serg Tereshchenko
8535a4ee23
chore(release): 0.18.3-beta.0
2022-07-11 00:02:03 +03:00
Serhii Tereshchenko
39bbe821b3
feat: Support named argument for values_list ( #644 )
...
Co-authored-by: serdtsekol <serdtsekol@gmail.com>
2022-07-11 00:00:24 +03:00