Self hosted FLOSS fitness/workout, nutrition and weight tracker
Change order of filter backends, seem to work better this way
Roland Geider6231afb37e1a
diff --git a/wger/settings_global.py b/wger/settings_global.pyindex 3b65e85d3..83cb7f315 100644--- a/wger/settings_global.py+++ b/wger/settings_global.py@@ -345,6 +345,6 @@ REST_FRAMEWORK = {'rest_framework.authentication.SessionAuthentication','rest_framework.authentication.TokenAuthentication',),- 'DEFAULT_FILTER_BACKENDS': ('rest_framework.filters.OrderingFilter',- 'rest_framework.filters.DjangoFilterBackend',)+ 'DEFAULT_FILTER_BACKENDS': ('rest_framework.filters.DjangoFilterBackend',+ 'rest_framework.filters.OrderingFilter',)}