Charlie Denton
c3179058d3
Update trove classifiers and django requirement
2018-01-16 10:54:33 +00:00
Charlie Denton
388d0e12c0
Update docs to reflect supported django versions
2018-01-16 10:54:33 +00:00
Charlie Denton
ca13180a61
Clean up unrequired compat import
2018-01-16 10:54:33 +00:00
Charlie Denton
3f6d94139c
Remove unused function in tests
2018-01-16 10:54:33 +00:00
Charlie Denton
6fb34a0a44
Mention django 2.0 support in changelog
2018-01-16 10:53:35 +00:00
Charlie Denton
e2bf741d5d
Remove models that are not referenced in tests
...
This silences one instance of the warning that's being printed in tests
for versions of Django before 2.0:
> RemovedInDjango20Warning: Managers from concrete parents will soon
> qualify as default managers if they appear before any other managers
> in the MRO.
2018-01-16 10:53:35 +00:00
Charlie Denton
120520e44d
Fix add_media util for Django 2.0
...
Neither `add_css` nor `add_js` exist in Django 2.0 because the method
for adding `Media` classes together has changed.
Ref: https://github.com/django/django/commit/c19b56f633e172b3c02094cbe12d28865ee57772
2018-01-16 10:53:34 +00:00
Charlie Denton
60e56ed472
Add django 2.0 to tests
2018-01-16 10:53:34 +00:00
Charlie Denton
96b11b50f9
Remove django 1.10 from tests
2018-01-16 10:53:34 +00:00
Charlie Denton
1a4595f5ce
Fix deprecated admin site URL in tests
...
The old format was deprecated in Django 1.9, and removed in Django 2.0.
Ref: https://docs.djangoproject.com/en/stable/releases/1.9/#passing-a-3-tuple-or-an-app-name-to-include
2018-01-16 10:53:34 +00:00
Charlie Denton
840bfe8d22
Fix import in Django 2.0
...
Because the URL mechanism has changed in Django 2.0, the
RegexURLResolver has been renamed.
2018-01-16 10:53:34 +00:00
Charlie Denton
007ba7a443
Don't test Django's master on python 2
...
Django 2.0 will be dropping support for python 2, so there's no point in
running the tests.
2017-05-08 00:11:17 +01:00
Charlie Denton
6f733d7471
Fix minor typo
2017-05-07 22:19:50 +01:00
Charlie Denton
fcbbbe52b3
Explicitly build coverage XML on travis, not tox
2017-04-15 00:11:33 +01:00
Charlie Denton
1481891733
Use TOXENV env var in travis config
...
I had previously used TOX_ENV, but not realised that TOXENV has a
special meaning for tox. We can now expect TOX to run the appropriate
build on travis without having it explicitly passed into the tox
command.
2017-04-15 00:07:57 +01:00
Charlie Denton
a57b067b42
Compile coverage for coveralls command on travis
2017-04-14 01:26:24 +01:00
Charlie Denton
d5886387d4
Allow travis builds to report failure early
2017-04-14 01:11:30 +01:00
Charlie Denton
c6e58db73e
Use tox for travis builds
...
This paves the way for more complex tox configs that don't need
duplicated config.
2017-04-14 01:09:32 +01:00
Charlie Denton
24d7509879
Run django master in tox tests
2017-04-14 00:53:17 +01:00
Charlie Denton
7dfe58bb10
Remove duplicate line in tox config
2017-04-14 00:49:35 +01:00
Charlie Denton
64325d0f99
Do not allow failures on django 1.11
2017-04-13 00:18:31 +01:00
Charlie Denton
f010c6ddf7
Get tests running on django 1.11
...
I'm a little concerned that this loses some of the efficiencies (in
particular, chunking) from previous versions. That's something that can
probably be improved.
2017-04-12 23:52:06 +01:00
Charlie Denton
aefb7dabc2
Django 1.11 uses real class names in __repr__()
...
See https://code.djangoproject.com/ticket/27546 and
https://github.com/django/django/commit/48826aa
2017-03-03 22:56:09 +00:00
Charlie Denton
8e52bdf6d1
Explicitly name ids of clashing base models
...
This avoids the following error in django 1.11 tests:
polymorphic.MRODerived: (models.E005) The field 'id' from parent model 'polymorphic.mrobase3' clashes with the field 'id' from parent model 'polymorphic.mrobase1'.
Related to https://code.djangoproject.com/ticket/22442
2017-03-03 22:16:54 +00:00
Charlie Denton
a178ed751d
Test against Python 3.6 and Django 1.11b1
2017-03-03 22:16:54 +00:00