Commit graph

898 commits

Author SHA1 Message Date
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
Jannis Leidel
37ebfee7a1
Don't run Django main test on Python < 3.8. 2021-03-09 13:43:17 +01:00
Jannis Leidel
4dbb969d2f
Don't run Django main test on Python < 3.8. 2021-03-09 13:41:20 +01:00
Jannis Leidel
2b18cb6b84
Rename Django's dev branch to main.
More information: https://groups.google.com/g/django-developers/c/tctDuKUGosc/
Refs: https://github.com/django/django/pull/14048
2021-03-09 13:37:02 +01:00
Simon Charette
46bf236be2
Merge pull request #468 from hramezani/improve_tests
Improve tests
2020-12-05 17:09:43 -05:00
Hasan Ramezani
22cbfb6aeb
Rewrite test with subTest and remove parameterized from requirements-test. 2020-12-05 20:24:07 +01:00
Hasan Ramezani
f9fae60551
Remove duplicate test. 2020-12-05 20:13:04 +01:00
Simon Charette
f482042025 Add a release date for 4.1.1. 2020-12-01 18:12:57 -05:00
Hasan Ramezani
2269f810c8 Fix TypeError in save when model inherits from both TimeStampModel and StatusModel. (Fixes GH-465) 2020-12-02 00:07:22 +01:00
David Smith
79ff8ea6be
Used isort to sort imports (#460) 2020-11-29 20:58:00 +00:00
Simon Charette
b0be6e2422 Adjust CHANGES to mention 4.1.0 release and add missing changes. 2020-11-29 09:42:26 -05:00
Jannis Leidel
1b3ebb7fc2
Merge pull request #462 from jazzband/gha
Migrate to GitHub Actions
2020-11-29 15:37:15 +01:00
Jannis Leidel
382110f84c
Update .github/workflows/test.yml
Co-authored-by: Hasan Ramezani <hasan.r67@gmail.com>
2020-11-29 15:34:22 +01:00
Jannis Leidel
8689faf2ad
Update tox.ini
Co-authored-by: Simon Charette <charettes@users.noreply.github.com>
2020-11-29 15:12:19 +01:00
Jannis Leidel
e630935fa3
Please coverage 2020-11-29 15:00:33 +01:00
Jannis Leidel
415742ccdf
Fix typo. 2020-11-29 14:54:45 +01:00
Jannis Leidel
124ca26901
Remove duplicate version mapping. 2020-11-29 14:54:15 +01:00
Jannis Leidel
e2e2cc8485
Remove old Travis cruft. 2020-11-29 14:53:56 +01:00
Jannis Leidel
1b9e1fa435
Update changelog. 2020-11-29 14:53:42 +01:00
Jannis Leidel
5b3672b980
Run Postgres 10 during testing. 2020-11-29 14:51:26 +01:00
Jannis Leidel
24c196ebe3
Fix typo. 2020-11-29 14:44:11 +01:00
Jannis Leidel
1336a91d75
Merge branch 'master' into gha 2020-11-29 14:42:23 +01:00
Jannis Leidel
ec7ef185fb
Add release workflow. 2020-11-29 14:40:18 +01:00
Jannis Leidel
c3f25724f4
Ignore coverage xml. 2020-11-29 14:40:07 +01:00
Jannis Leidel
000528d8d8
Remove old Mercurial cruft. 2020-11-29 14:39:53 +01:00
Jannis Leidel
2cd07a9e89
Use setuptools_scm 2020-11-29 14:39:17 +01:00
Jannis Leidel
0ce2501384
Update tox config. 2020-11-29 14:36:06 +01:00
Jannis Leidel
7121e9575a
Add GitHub Actions test workflow. 2020-11-29 14:35:54 +01:00
Hasan Ramezani
775ac3f4b1 Add flake8 to travisci. 2020-11-29 13:36:33 +01:00