Jerome Leclanche
3af5db0ceb
tests: Clean up and simplify test_reset_polymorphic_ctype
2017-08-29 19:41:42 +03:00
Jerome Leclanche
a91a04af6b
Set polymorphic.__version__ from setuptools metadata
2017-08-29 19:41:42 +03:00
Jerome Leclanche
5c54ae1782
Move setup metadata to setup.cfg
2017-08-29 19:41:42 +03:00
Jerome Leclanche
300e9b062e
Use field.remote_field instead of field.rel
...
Deprecated in Django 1.9, removed in 2.0
More information:
- https://docs.djangoproject.com/en/1.11/releases/1.9/#field-rel-changes
2017-08-29 19:41:42 +03:00
Jerome Leclanche
fc8cabfa26
Replace use_for_related_fields by Meta.base_manager_name
...
Deprecated in 1.10, removed in 2.0
More information:
- https://code.djangoproject.com/ticket/14891
- django/django@ed0ff913c6
2017-08-29 19:41:42 +03:00
Jerome Leclanche
6fe1e2ddae
Update django.urls imports
2017-08-29 19:41:42 +03:00
Jerome Leclanche
4dc20a0213
Remove Pre-1.0 compatibility hacks
2017-08-29 19:41:42 +03:00
Jerome Leclanche
f8852c1281
Travis: Use Tox for test matrix
2017-08-29 19:41:42 +03:00
Jerome Leclanche
0c7b1aa657
Drop support for Django 1.8
2017-08-29 19:41:42 +03:00
Jerome Leclanche
f9b079fda7
Stop testing on Django 1.8
2017-08-29 19:41:42 +03:00
Jerome Leclanche
452b7cb69e
Add myself to AUTHORS
2017-07-10 09:08:11 +03:00
Jerome Leclanche
2b4aeaec78
Set PYTHONWARNINGS=all when testing
2017-07-10 09:08:11 +03:00
Jerome Leclanche
87979a6660
Remove outdated 404 url from docstrings
2017-07-10 09:08:11 +03:00
Jerome Leclanche
0a495cb485
Fix PolymorphicParentModelAdmin.pk_regex escape
2017-07-10 09:08:11 +03:00
Jerome Leclanche
b2b20bed55
docs: Fix a missing newline
2017-07-10 09:08:11 +03:00
Jerome Leclanche
66124a59eb
docs: Move dependencies to tox.ini docs env
2017-07-10 09:08:11 +03:00
Jerome Leclanche
1e7237986c
Specify on_delete argument for all related fields that need it
2017-07-10 09:08:11 +03:00
Jerome Leclanche
298460c4cf
Drop support for Django <1.8, Python <2.7
2017-07-10 09:08:11 +03:00
Jerome Leclanche
df0041dff6
Stop running tests on unmaintained versions of Python/Django
2017-06-23 15:12:53 +03:00
Jerome Leclanche
544f5edef4
Fix accessor replacement consistency on Django 1.11
...
At this point, we don't know why this line of code is executed, but
we do know it's not consistently executed between Django 1.10 and
Django 1.11 due to the addition of `ForwardOneToOneDescriptor`, a
subclass of `ForwardManyToOneDescriptor`.
Refs. 6628145af7
Refs. kavdev/dj-stripe#524
Refs. django/django@38575b007a
2017-06-07 13:27:50 +03:00