Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Formatting

Roland Geider9c729ad832b1
diff --git a/wger/settings_global.py b/wger/settings_global.py
index 961a19a0d..c432a393e 100644
--- a/wger/settings_global.py
+++ b/wger/settings_global.py
@@ -376,8 +376,10 @@ REST_FRAMEWORK = {
'rest_framework.authentication.SessionAuthentication',
'rest_framework.authentication.TokenAuthentication',
),
- 'DEFAULT_FILTER_BACKENDS':
- ('django_filters.rest_framework.DjangoFilterBackend', 'rest_framework.filters.OrderingFilter'),
+ 'DEFAULT_FILTER_BACKENDS': (
+ 'django_filters.rest_framework.DjangoFilterBackend',
+ 'rest_framework.filters.OrderingFilter',
+ ),
'DEFAULT_THROTTLE_CLASSES': ['rest_framework.throttling.ScopedRateThrottle'],
'DEFAULT_THROTTLE_RATES': {
'login': '3/min'