Commit graph

929 commits

Author SHA1 Message Date
Simon Charette
62da080f78
Release 4.3.1.
This is basically what was meant to be 4.3.0 but failed due to RST errors in
the CHANGELOG.
2022-11-15 19:07:31 -05:00
Simon Charette
6c6d60e85c
Merge pull request #547 from jazzband/release-4.3.0
Release 4.3.0.
2022-11-15 18:56:08 -05:00
Simon Charette
14054fb941
Release 4.3.0. 2022-11-15 18:51:48 -05:00
Ihor Sychevskyi
75ea320ed4
update readme links (#540) 2022-10-20 00:07:38 +03:00
pre-commit-ci[bot]
6d6d170618 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v3.0.0 → v3.1.0](https://github.com/asottile/pyupgrade/compare/v3.0.0...v3.1.0)
2022-10-17 22:18:25 +02:00
pre-commit-ci[bot]
741a998473 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.38.2 → v3.0.0](https://github.com/asottile/pyupgrade/compare/v2.38.2...v3.0.0)
2022-10-10 22:07:11 +02:00
pre-commit-ci[bot]
52d728cc08 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.38.0 → v2.38.2](https://github.com/asottile/pyupgrade/compare/v2.38.0...v2.38.2)
2022-09-26 20:58:45 +02:00
pre-commit-ci[bot]
50c82ded44 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.37.3 → v2.38.0](https://github.com/asottile/pyupgrade/compare/v2.37.3...v2.38.0)
2022-09-19 21:48:27 +02:00
Simon Charette
157ee9bc5a
Merge pull request #532 from hramezani/update_versions
Update support of Python and Django versions
2022-08-17 21:31:25 -04:00
Hasan Ramezani
85b656e12c
Confirm support for Django 4.1 2022-08-17 23:17:28 +02:00
Hasan Ramezani
0b5475e3d5 Add pyupgrade to pre-commit configurations 2022-08-17 23:08:31 +02:00
Hasan Ramezani
8723a0e34e Drop support for Python 3.6 2022-08-17 23:08:31 +02:00
Hasan Ramezani
b354d90c20 Drop support for Django < 3.2 2022-08-17 23:08:29 +02:00
Adam Johnson
d699745504 Remove workaround from select_subclasess()
The workaround was for an issue that was fixed in Django 1.7: https://code.djangoproject.com/ticket/16855 / 349c12d3f5 .
2022-08-17 23:06:50 +02:00
Tim Gates
2dab8afded docs: Fix a few typos
There are small typos in:
- docs/managers.rst
- model_utils/managers.py
- tests/test_models/test_timestamped_model.py

Fixes:
- Should read `subclasses` rather than `subclasess`.
- Should read `queryset` rather than `querset`.
- Should read `permissible` rather than `permissable`.
- Should read `modified` rather than `modifed`.
- Should read `heterogeneous` rather than `heterogenous`.

Signed-off-by: Tim Gates <tim.gates@iress.com>
2022-08-17 22:37:49 +02:00
pre-commit-ci[bot]
5b81749a4f [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/PyCQA/flake8: 5.0.2 → 5.0.4](https://github.com/PyCQA/flake8/compare/5.0.2...5.0.4)
2022-08-08 21:51:43 +02:00
pre-commit-ci[bot]
80a3853b50 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/PyCQA/flake8: 4.0.1 → 5.0.2](https://github.com/PyCQA/flake8/compare/4.0.1...5.0.2)
2022-08-01 21:12:50 +02:00
John Vandenberg
02bd67cf7a
Merge pull request #425 from quique/spanish_translation 2022-03-14 10:39:11 +08:00
John Vandenberg
70b949cd2c
Merge branch 'master' into spanish_translation 2022-03-14 10:36:04 +08:00
John Vandenberg
53b23c84c5
Merge pull request #473 from Sicilia04/master
Adds French translation
2022-03-14 10:34:06 +08:00
pre-commit-ci[bot]
208e226c72 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/PyCQA/isort: 5.9.3 → 5.10.1](https://github.com/PyCQA/isort/compare/5.9.3...5.10.1)
2021-12-13 18:11:39 +01:00
Hasan Ramezani
355d3857f0 Update Django version in install_requires. 2021-12-08 12:33:23 +01:00
Hasan Ramezani
e418711f32 Add USE_TZ setting. 2021-12-08 12:33:23 +01:00
Hasan Ramezani
f0828e7985 Confirm support for Django 4.0 2021-12-08 12:33:23 +01:00
Hasan Ramezani
f513e948d6 Remove Django 3.1 from Python 3.10 env in tox. 2021-12-08 12:33:23 +01:00
Adam Johnson
fc5f8adef2 Fix name of pre-commit file
Without this, it is failing with:

```
An error has occurred: InvalidConfigError:
=====> .pre-commit-config.yaml is not a file
```

... locally, and [on pre-commit.ci](https://results.pre-commit.ci/run/github/367233/1638617692.MJfSfSpAStKRpS_gf4Wieg).
2021-12-07 16:28:58 +01:00
jazzband-bot
903f640ee1 Jazzband: Created local 'CODE_OF_CONDUCT.md' from remote 'CODE_OF_CONDUCT.md' 2021-11-04 11:42:42 +01:00
Josh
eb2315a50f Add pre-commit-config.yaml 2021-10-30 22:02:18 +06:00
Matthieu Rigal
5ca515acc7 docs: Fix Markdown formatting of CHANGES 2021-10-11 09:59:26 +02:00
Ghassan Maslamani
b65a2ee41d set deafult DB_host as localhost 2021-10-10 23:27:56 +06:00
Matthieu Rigal
e4629a013d
Prepare 4.2.0 release 2021-10-09 23:18:08 +02:00
Matthieu Rigal
a1920d2132
Merge pull request #499 from joshuadavidthomas/python3.10
Add support for Python 3.10
2021-10-09 22:45:12 +02:00
Matthieu Rigal
6d4112e8ce
Fix performance regression: avoid pickling the whole instance when deepcopying fields on Django 3.1+ (#500)
* test: Add failing test for #gh-498

* fix: Fix performance regression on FileTracker for FileField on Django 3.1+
2021-10-09 21:30:12 +06:00
tumb1er
dd0f62bdba Fix QuerySet._chain for django main (post-3.2) 2021-10-09 16:52:50 +06:00
Josh
6736a5b4e3 Update CHANGES.rst 2021-10-08 09:16:44 -05:00
Josh
4aa1886cd6 update trove classifiers 2021-10-08 09:16:44 -05:00
Josh
51f8118d65 add 3.10 to strategy matrix and py310 to tox.ini 2021-10-08 09:16:44 -05:00
Josh
8f4f24f88c fix Callable import
The ability to import from `collections` was removed in 3.10.
2021-10-08 09:05:33 -05:00
Josh
55981ec128 bump pytest from 6.0.2 to 6.2.5
pytest 6.2.5 adds support for Python 3.10. [Link](https://github.com/pytest-dev/pytest/pull/8494) to relevant PR.
2021-10-08 09:05:33 -05:00
Sergey Tikhonov
79a7793dc5
#491 Context manager for resetting fields (#494)
* Add tracker context manager and decorator

* Handle auto-field warning in tests

* Use tracker context in monkey-patched methods

* Test delaying set_saved_fields call with context manager

* Docs for tracker context

* Describe FieldsContext context manager in changes

* Fix unused import

* #494 add breaking changes note on 4.1.1 release for #404

* #494 fix typo

* #494 add docstring for FieldsContext

* #494 move breaking changes from 4.1.1 to 4.1.0

* #494 fix typo and add some more docstrings
2021-10-08 15:09:20 +06:00
Nafees Anwar
9deb39dc46 Added deconstruct 2021-04-30 21:40:39 +05:00
Nafees Anwar
a56d07cd68 Added urlsafe token field 2021-04-30 21:40:39 +05:00
Manish Kumar
57d26ee0cc Fixed a typo 2021-04-14 10:21:03 +06:00
Jannis Leidel
4b90629e34
Tiny update for less screaming. 2021-04-08 14:54:11 +02:00
Hasan Ramezani
c9cb248657 Add changelog to doc. 2021-04-08 14:50:11 +02:00
Hasan Ramezani
f713749fc4 Fix Django and Python supported version in setup doc. 2021-04-08 14:50:11 +02:00
Hasan Ramezani
8e19699b0f Drop support for Django 3.0. 2021-04-07 10:32:50 +02:00
Hasan Ramezani
7af903b12a Add support for Django 3.2. 2021-04-07 10:32:50 +02:00
Jannis Leidel
9d0dfc3d0e
Merge pull request #477 from jazzband/master-to-main
Rename Django's dev branch to main.
2021-03-09 17:34:56 +01:00
Jannis Leidel
621c4a8f3b
Fix typo. 2021-03-09 13:46:46 +01:00