Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Remove unsued settings

Roland Geiderc68b3e958c5f
diff --git a/settings/ci.py b/settings/ci.py
index 04423b09c..c1fa85210 100644
--- a/settings/ci.py
+++ b/settings/ci.py
@@ -79,7 +79,6 @@ ALLOWED_HOSTS = [
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
DEFAULT_FROM_EMAIL = WGER_SETTINGS['EMAIL_FROM']
-EMAIL_PAGE_DOMAIN = SITE_URL
AXES_ENABLED = False
STORAGES = {
diff --git a/settings/main.py b/settings/main.py
index 4fa127169..82b5c72c7 100644
--- a/settings/main.py
+++ b/settings/main.py
@@ -201,9 +201,6 @@ if os.environ.get('DJANGO_CACHE_BACKEND'):
CACHES['default']['OPTIONS']['CONNECTION_POOL_KWARGS'] = CONNECTION_POOL_KWARGS
-# The site's domain as used by the email verification workflow
-EMAIL_PAGE_DOMAIN = SITE_URL
-
#
# Django Axes
#
@@ -261,7 +258,6 @@ CELERY_RESULT_BACKEND = env.str('CELERY_BACKEND', 'redis://cache:6379/2')
# Prometheus metrics
#
EXPOSE_PROMETHEUS_METRICS = env.bool('EXPOSE_PROMETHEUS_METRICS', False)
-PROMETHEUS_URL_PATH = env.str('PROMETHEUS_URL_PATH', 'super-secret-path')
#
# Logging
diff --git a/settings/settings_global.py b/settings/settings_global.py
index f9f80790f..875174d8c 100644
--- a/settings/settings_global.py
+++ b/settings/settings_global.py
@@ -390,7 +390,6 @@ REST_FRAMEWORK = {
'DEFAULT_PERMISSION_CLASSES': ('wger.utils.permissions.WgerPermission',),
'DEFAULT_PAGINATION_CLASS': 'wger.utils.pagination.WgerLimitOffsetPagination',
'PAGE_SIZE': 20,
- 'PAGINATE_BY_PARAM': 'limit', # Allow client to override, using `?limit=xxx`.
'TEST_REQUEST_DEFAULT_FORMAT': 'json',
'DEFAULT_AUTHENTICATION_CLASSES': (
'rest_framework.authentication.SessionAuthentication',
@@ -532,7 +531,6 @@ AUTH_PROXY_CREATE_UNKNOWN_USER = False
# Prometheus metrics
#
EXPOSE_PROMETHEUS_METRICS = False
-PROMETHEUS_URL_PATH = 'super-secret-path'
#