Self hosted FLOSS fitness/workout, nutrition and weight tracker
Automatic linting
Github-actionse476fd27e729
diff --git a/wger/settings_global.py b/wger/settings_global.pyindex 343d96552..892a20ac8 100644--- a/wger/settings_global.py+++ b/wger/settings_global.py@@ -166,7 +166,7 @@ TEMPLATES = ['django.template.loaders.app_directories.Loader',],'debug':- False+ False},},]@@ -282,7 +282,6 @@ CACHES = {}}-## Django Axes#@@ -300,7 +299,6 @@ AXES_HANDLER = 'axes.handlers.database.AxesDatabaseHandler'# (e.g. when you have multiple caches defined in CACHES), change the following value to that nameAXES_CACHE = 'default'-## Django Crispy Templates#@@ -408,15 +406,15 @@ COMPRESS_ROOT = STATIC_ROOT# Django Rest Framework#REST_FRAMEWORK = {- 'DEFAULT_PERMISSION_CLASSES': ('wger.utils.permissions.WgerPermission',),+ 'DEFAULT_PERMISSION_CLASSES': ('wger.utils.permissions.WgerPermission', ),'DEFAULT_PAGINATION_CLASS':- 'rest_framework.pagination.LimitOffsetPagination',+ 'rest_framework.pagination.LimitOffsetPagination','PAGE_SIZE':- 20,+ 20,'PAGINATE_BY_PARAM':- 'limit', # Allow client to override, using `?limit=xxx`.+ 'limit', # Allow client to override, using `?limit=xxx`.'TEST_REQUEST_DEFAULT_FORMAT':- 'json',+ 'json','DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework.authentication.SessionAuthentication','rest_framework.authentication.TokenAuthentication',@@ -452,7 +450,7 @@ CORS_URLS_REGEX = r'^/api/.*$'## Ignore these URLs if they cause 404#-IGNORABLE_404_URLS = (re.compile(r'^/favicon\.ico$'),)+IGNORABLE_404_URLS = (re.compile(r'^/favicon\.ico$'), )## Password rules