Commit Graph

809 Commits (49c2abf70d33332f1b26c3bb27659f0fe48796d0)

Author SHA1 Message Date
Iacopo Spalletti 49c2abf70d
Replace ugettext with gettext to fix deprecation warnings 2020-08-18 12:34:55 +02:00
Chris Glass 1d719a0e60 Remove unused imports
A few places still imported the compat module for no reason - this
commit fixes that.
2020-08-18 10:04:58 +02:00
Chris Glass e72a11d12c
Merge pull request #454 from yakky/fix-settings
Add explicit SECRET_KEY required by django master
2020-08-15 09:20:16 +02:00
Iacopo Spalletti 1e2c880429
Add explicit SECRET_KEY required by django master 2020-08-14 17:46:32 +02:00
Chris Glass e67e7042db
Merge pull request #453 from chrisglass/fix-tests
Fix tests
2020-08-14 17:05:20 +02:00
Chris Glass 7f839aaa36 Remove django master from env list
When running locally, don't test against django master. The travis
config will however still test those.
2020-08-14 17:02:40 +02:00
Iacopo Spalletti 76efd54df5 Add missing field 2020-08-14 16:49:51 +02:00
Iacopo Spalletti 0950478fcd Update usage of databases instead of multidb 2020-08-14 16:49:51 +02:00
Chris Glass 76871e3863 Fix warnings
This is a little uncertain - while it does fix warnings I'm not sure the
removed assertion were actually useful in checking the behavior, and I'm
not certain how to recreate the assertion without using the depracated
path.
2020-08-14 16:32:18 +02:00
Chris Glass 24dd1fff2c Add ipdb to test deps
This is not strictly necessary but it helps tremendously to have a REPL
around to break into when a test fails.
2020-08-14 16:29:49 +02:00
Chris Glass c0874c5e90 unrelated: add .venv to gitignore 2020-08-14 16:28:30 +02:00
Chris Glass 378e30cf83
Merge pull request #445 from safaariman/master
Performance improvement on parentadmin
2020-08-14 14:27:04 +02:00
Chris Glass d95347b92d
Merge pull request #403 from loganknecht/documentation/fix_version_support_in_documentation
Change `docs/quickstart.rst` version support to match `README.rst`.
2020-08-14 11:16:02 +02:00
Chris Glass 53cd87538c
Merge pull request #411 from wfehr/patch-1
Fixed typo in changelog
2020-08-14 11:13:34 +02:00
Chris Glass a84db94c4e
Merge pull request #440 from berhoel/fix_tox_docs
Fix `tox -e docs` for out or the box checkout.
2020-08-14 11:11:25 +02:00
Chris Glass 6be20c14be Fix PY3 reference in tests
We only ever build for py3 now, the compat reference was useless.
2020-08-14 11:05:32 +02:00
Chris Glass 8ae64d1ce2
Merge pull request #452 from Djailla/django31
Add support for Django 3.1
2020-08-14 11:04:22 +02:00
Bastien Vallet 7f248bd4bd Update README for Django compatibility list 2020-08-10 22:48:31 +02:00
Bastien Vallet b6921baede Add support for Django 3.1 2020-08-05 10:39:48 +02:00
Bastien Vallet 68605ba2ba [compat] Remove PY2 compat artefacts
- No need to specific types
- Remove __future__ imports
2020-08-04 14:49:40 +02:00
Bastien Vallet 85469082d0 Remove python_2_unicode_compatible method 2020-08-04 14:38:15 +02:00
Bastien Vallet 10f6563852 [compat] Cleanup compat matrix with Django/Python supported versions 2020-08-04 14:33:08 +02:00
Safa Arıman 8b35063f58 Performance improvement on parentadmin 2020-06-10 10:56:36 +03:00
Chris Glass eed4e9fa4a
Merge pull request #442 from django-polymorphic/dependabot/pip/docs/_ext/djangodummy/django-2.2.13
Bump django from 2.2.9 to 2.2.13 in /docs/_ext/djangodummy
2020-06-09 11:57:17 +02:00
dependabot[bot] 59c1b03a92
Bump django from 2.2.9 to 2.2.13 in /docs/_ext/djangodummy
Bumps [django](https://github.com/django/django) from 2.2.9 to 2.2.13.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/2.2.9...2.2.13)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-05 17:51:33 +00:00
Berthold Höllmann 5db157c254
Fix `tox -e docs` for out or the box checkout. 2020-05-23 12:15:32 +02:00
Diederik van der Boor 37403c7421
Fix GitHub security alert for readthedocs deps 2020-01-20 09:34:49 +01:00
wfehr b68a3b4e90
Fixed typo in changelog 2019-11-06 08:22:43 +01:00
Hugbot 7638a13f65 Change `docs/quickstart.rst` version support to match `README.rst`. 2019-09-08 21:38:50 -07:00
Diederik van der Boor ad4e6e90c8
Bump to v2.1.2 2019-07-15 22:15:05 +02:00
Diederik van der Boor c8463b1520
Fix PolymorphicInlineModelAdmin media jquery include for Django 2.0+
As Django changed the media query usage, jquery needs to be included
explicitly as well
2019-07-15 22:11:59 +02:00
Diederik van der Boor f7dc0f89bc
Let tox docs use requirement.txt 2019-07-15 22:11:48 +02:00
Diederik van der Boor db864cd8a8
Corrected black code wrapping when lines had long comments. 2019-07-15 18:10:05 +02:00
Diederik van der Boor 6af023dafd
Added unit test for refresh_from_db() 2019-07-15 17:56:53 +02:00
Diederik van der Boor 263fb6567b
Add docs badge 2019-07-15 10:35:17 +02:00
Diederik van der Boor f0c34297f4
Bump to v2.1.1 2019-07-15 10:20:28 +02:00
Diederik van der Boor 407679895f
Fixed import error in the admin due to isort 2019-07-15 10:19:10 +02:00
Diederik van der Boor 5c33a03c7c
Upgrade docs requirements to avoid security warnings 2019-07-15 10:13:33 +02:00
Diederik van der Boor 3422dee676
Bump to v2.1 2019-07-15 09:54:59 +02:00
Diederik van der Boor 59c020ee50
Reformat all files with isort and black 2019-07-15 09:50:15 +02:00
Diederik van der Boor d314dce4a2
Fix building docs 2019-07-15 09:45:09 +02:00
Diederik van der Boor 8c8a920433
Remove dead/unused/unreachable get_first_user_defined_manager() code in metaclass 2019-07-12 18:14:40 +02:00
Diederik van der Boor 02a40cbb0b
Update changelog 2019-07-12 18:09:28 +02:00
Diederik van der Boor 49f89ffb21
Fix random unit test failing due to model ordering 2019-07-12 17:53:16 +02:00
Diederik van der Boor 8fb8f47fb0
Fix compatibility with Django 3.0 alpha
Removed django.utils.six dependency, copied the parts we still need for
Python 2 compatibility.
2019-07-12 17:39:59 +02:00
Diederik van der Boor 7a315f7c17
Stop testing for Python 3.4 (deprecated)
also stop python 3.5 on django-master (which django doens't support)
2019-07-12 16:18:20 +02:00
Diederik van der Boor c160556639
Merge PR #259 logic in a Django compatible way 2019-07-12 12:12:04 +02:00
Diederik van der Boor 17e41c4f7f
Rewrite translate_polymorphic_field_path() avoid closures
Inspired by PR #259 to look at this
2019-07-12 12:12:04 +02:00
Michael Scott Cuthbert 9225f08141 Give an example of copying a polymorphic object 2019-07-12 10:06:57 +02:00
Diederik van der Boor f769ed7568
Fix dealing with missing derived table data with new prefetching code 2019-07-12 10:01:40 +02:00