d1048a0d9d
It is not given, that null values are sorted last in the `order_by("-end_time")` statement. This did not happens in the tests, but in a productive environment. See https://docs.djangoproject.com/en/2.2/ref/models/querysets/#order-by for a `.asc()`/`.desc()` option `nulls_last`. I choose another approach to just exclude these values. |
||
---|---|---|
.. | ||
__init__.py | ||
test_models.py | ||
test_viewset.py |