Oliver Sauder
Oliver Sauder
`utils.get_resource_type_from_serializer` is called several times throughout the DJA code base. When this method raises an `AttributeError` it is a configuration/code setup issue and not a runtime issue. Besides there is...
Currently some tests are written in unit test and some in pytest. As pytest is more flexible all tests should be converted to use pytest to be consistent. It also...
## Description of the Bug Report [CONTRIBUTING,md](https://github.com/django-json-api/django-rest-framework-json-api/blob/master/docs/CONTRIBUTING.md) currently only covers how to setup dev environment. It would be great to get an overhaul so it actually explains how someone can...
## Issue The guides on https://django-rest-framework-json-api.readthedocs.io/en/stable/usage.html#configuration recommend including the `rest_framework_json_api.filters.QueryParameterValidationFilter` in initial configuration which is good advice, but by default, the Django REST Framework UI provides a dropdown which allows...
We can follow the [DRF example](https://github.com/encode/django-rest-framework/blob/master/tox.ini#L33) on splitting up tests without having optional dependencies installed. For this to work we properly need to compat imports as in [DRF](https://github.com/encode/django-rest-framework/blob/master/rest_framework/compat.py). This way...
In our project we have the following `.pyup.yml` configuration: ```yaml search: False requirements: - django/requirements.txt: update: all pin: True - django/requirements-dev.txt: update: all pin: True ``` When running pyup this...
Custom date times are not frozen when using freeze_time. Example: ```python from datetime import datetime from freezegun import freeze_time class CustomDatetime(datetime): pass with freeze_time('2018-05-30'): print(datetime.now()) # correctly outputs 2018-05-30 00:00:00...
Answer is not a entity which exists as itself like Question but is always linked to a document. That's why mutation to save document answers are called `saveDocumentAnswer` so for...
It is not clear yet how this is best implemented. Issue is that user may update configuration in the user interface but on the other hand does a developer might...