i ran into this issue when using v2.4 with django v1.8. (i didn't previously read it isn't supported) It's not in the release notes but django.db.model.Options many_to_many() now returns an ImmutableList which is really just a tuple with a bunch of warnings and hooks on it. if we don't make this typecast change we get the following error TypeError: can only concatenate tuple (not "list") to tuple I'm not sure if this change is appropriate and not sure what, if any, additional tests to include with this . I attempted to test this but must be doing something wrong. Every test fails when trying to use cursor. most of the errors I get are Failed: Database access not allowed, use the "django_db" mark to enable i followed the instructions here. https://github.com/tomchristie/django-rest-framework/blob/version-2.4.x/CONTRIBUTING.md
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
authtoken | Loading commit data... | |
static/rest_framework | Loading commit data... | |
templates/rest_framework | Loading commit data... | |
templatetags | Loading commit data... | |
utils | Loading commit data... | |
__init__.py | Loading commit data... | |
authentication.py | Loading commit data... | |
compat.py | Loading commit data... | |
decorators.py | Loading commit data... | |
exceptions.py | Loading commit data... | |
fields.py | Loading commit data... | |
filters.py | Loading commit data... | |
generics.py | Loading commit data... | |
mixins.py | Loading commit data... | |
models.py | Loading commit data... | |
negotiation.py | Loading commit data... | |
pagination.py | Loading commit data... | |
parsers.py | Loading commit data... | |
permissions.py | Loading commit data... | |
relations.py | Loading commit data... | |
renderers.py | Loading commit data... | |
request.py | Loading commit data... | |
response.py | Loading commit data... | |
reverse.py | Loading commit data... | |
routers.py | Loading commit data... | |
serializers.py | Loading commit data... | |
settings.py | Loading commit data... | |
status.py | Loading commit data... | |
test.py | Loading commit data... | |
throttling.py | Loading commit data... | |
urlpatterns.py | Loading commit data... | |
urls.py | Loading commit data... | |
views.py | Loading commit data... | |
viewsets.py | Loading commit data... |