We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Update CI files for branch 3.22


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `pulpcore/app/settings.py`
Content:
```
1 """
2 Django settings for the Pulp Platform application
3 
4 Never import this module directly, instead `from django.conf import settings`, see
5 https://docs.djangoproject.com/en/1.11/topics/settings/#using-settings-in-python-code
6 
7 For the full list of settings and their values, see
8 https://docs.djangoproject.com/en/1.11/ref/settings/
9 """
10 
11 import os
12 from contextlib import suppress
13 from importlib import import_module
14 from pkg_resources import iter_entry_points
15 
16 # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
17 BASE_DIR = os.path.dirname(os.path.abspath(__file__))
18 
19 # Quick-start development settings - unsuitable for production
20 # See https://docs.djangoproject.com/en/1.11/howto/deployment/checklist/
21 
22 # SECURITY WARNING: don't run with debug turned on in production!
23 DEBUG = False
24 
25 ALLOWED_HOSTS = ['*']
26 
27 MEDIA_ROOT = '/var/lib/pulp/'
28 STATIC_ROOT = os.path.join(MEDIA_ROOT, 'static/')
29 
30 DEFAULT_FILE_STORAGE = 'pulpcore.app.models.storage.FileSystem'
31 
32 FILE_UPLOAD_TEMP_DIR = os.path.join(MEDIA_ROOT, 'tmp/')
33 WORKING_DIRECTORY = os.path.join(MEDIA_ROOT, 'tmp/')
34 
35 # List of upload handler classes to be applied in order.
36 FILE_UPLOAD_HANDLERS = ('pulpcore.app.files.HashingFileUploadHandler',)
37 
38 SECRET_KEY = True
39 
40 # Application definition
41 
42 INSTALLED_APPS = [
43     # django stuff
44     'django.contrib.admin',
45     'django.contrib.auth',
46     'django.contrib.contenttypes',
47     'django.contrib.sessions',
48     'django.contrib.messages',
49     'django.contrib.staticfiles',
50     # third-party
51     'django_filters',
52     'drf_yasg',
53     'rest_framework',
54     # pulp core app
55     'pulpcore.app',
56 ]
57 
58 # Enumerate the installed Pulp plugins during the loading process for use in the status API
59 INSTALLED_PULP_PLUGINS = []
60 
61 for entry_point in iter_entry_points('pulpcore.plugin'):
62     plugin_app_config = entry_point.load()
63     INSTALLED_PULP_PLUGINS.append(entry_point.module_name)
64     INSTALLED_APPS.append(plugin_app_config)
65 
66 # Optional apps that help with development, or augment Pulp in some non-critical way
67 OPTIONAL_APPS = [
68     'crispy_forms',
69     'django_extensions',
70     'storages',
71 ]
72 
73 for app in OPTIONAL_APPS:
74     # only import if app is installed
75     with suppress(ImportError):
76         import_module(app)
77         INSTALLED_APPS.append(app)
78 
79 MIDDLEWARE = [
80     'django.middleware.security.SecurityMiddleware',
81     'whitenoise.middleware.WhiteNoiseMiddleware',
82     'django.contrib.sessions.middleware.SessionMiddleware',
83     'django.middleware.common.CommonMiddleware',
84     'django.middleware.csrf.CsrfViewMiddleware',
85     'django.contrib.auth.middleware.AuthenticationMiddleware',
86     'pulpcore.app.middleware.PulpRemoteUserMiddleware',
87     'django.contrib.messages.middleware.MessageMiddleware',
88     'django.middleware.clickjacking.XFrameOptionsMiddleware',
89 ]
90 
91 AUTHENTICATION_BACKENDS = [
92     'django.contrib.auth.backends.ModelBackend',
93     'django.contrib.auth.backends.RemoteUserBackend',
94 ]
95 
96 ROOT_URLCONF = 'pulpcore.app.urls'
97 
98 TEMPLATES = [
99     {
100         'BACKEND': 'django.template.backends.django.DjangoTemplates',
101         'DIRS': [os.path.join(BASE_DIR, 'templates')],
102         'APP_DIRS': True,
103         'OPTIONS': {
104             'context_processors': [
105                 'django.template.context_processors.debug',
106                 'django.template.context_processors.request',
107                 'django.contrib.auth.context_processors.auth',
108                 'django.contrib.messages.context_processors.messages',
109             ],
110         },
111     },
112 ]
113 
114 WSGI_APPLICATION = 'pulpcore.app.wsgi.application'
115 
116 REST_FRAMEWORK = {
117     'URL_FIELD_NAME': '_href',
118     'DEFAULT_FILTER_BACKENDS': ('django_filters.rest_framework.DjangoFilterBackend',),
119     'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',
120     'PAGE_SIZE': 100,
121     'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),
122     'DEFAULT_AUTHENTICATION_CLASSES': (
123         'rest_framework.authentication.SessionAuthentication',
124         'rest_framework.authentication.RemoteUserAuthentication',
125         'rest_framework.authentication.BasicAuthentication',
126     ),
127     'UPLOADED_FILES_USE_URL': False,
128     'DEFAULT_VERSIONING_CLASS': 'rest_framework.versioning.URLPathVersioning',
129 }
130 
131 # Password validation
132 # https://docs.djangoproject.com/en/dev/ref/settings/#auth-password-validators
133 
134 AUTH_PASSWORD_VALIDATORS = [
135     {
136         'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
137     },
138     {
139         'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
140     },
141     {
142         'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
143     },
144     {
145         'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
146     },
147 ]
148 
149 
150 # Internationalization
151 # https://docs.djangoproject.com/en/1.11/topics/i18n/
152 
153 LANGUAGE_CODE = 'en-us'
154 
155 TIME_ZONE = 'UTC'
156 
157 USE_I18N = 'USE_I18N', True
158 
159 USE_L10N = True
160 
161 USE_TZ = True
162 
163 
164 # Static files (CSS, JavaScript, Images)
165 # https://docs.djangoproject.com/en/1.11/howto/static-files/
166 
167 STATIC_URL = '/static/'
168 
169 # A set of default settings to use if the configuration file in
170 # /etc/pulp/ is missing or if it does not have values for every setting
171 
172 # https://docs.djangoproject.com/en/1.11/ref/settings/#databases
173 DATABASES = {
174     'default': {
175         'ENGINE': 'django.db.backends.postgresql_psycopg2',
176         'NAME': 'pulp',
177         'USER': 'pulp',
178         'CONN_MAX_AGE': 0,
179     },
180 }
181 # https://docs.djangoproject.com/en/1.11/ref/settings/#logging and
182 # https://docs.python.org/3/library/logging.config.html
183 LOGGING = {
184     'version': 1,
185     'disable_existing_loggers': False,
186     'formatters': {
187         'simple': {'format': 'pulp: %(name)s:%(levelname)s: %(message)s'},
188     },
189     'handlers': {
190         'console': {
191             'class': 'logging.StreamHandler',
192             'formatter': 'simple'
193         }
194     },
195     'loggers': {
196         '': {
197             # The root logger
198             'handlers': ['console'],
199             'level': 'INFO'
200         },
201     }
202 }
203 
204 CONTENT_HOST = ''
205 CONTENT_PATH_PREFIX = '/pulp/content/'
206 CONTENT_APP_TTL = 30
207 
208 REMOTE_USER_ENVIRON_NAME = "REMOTE_USER"
209 
210 PROFILE_STAGES_API = False
211 
212 SWAGGER_SETTINGS = {
213     'DEFAULT_GENERATOR_CLASS': 'pulpcore.app.openapigenerator.PulpOpenAPISchemaGenerator',
214     'DEFAULT_AUTO_SCHEMA_CLASS': 'pulpcore.app.openapigenerator.PulpAutoSchema',
215     'DEFAULT_INFO': 'pulpcore.app.urls.api_info',
216 }
217 
218 # HERE STARTS DYNACONF EXTENSION LOAD (Keep at the very bottom of settings.py)
219 # Read more at https://dynaconf.readthedocs.io/en/latest/guides/django.html
220 import dynaconf  # noqa
221 settings = dynaconf.DjangoDynaconf(
222     __name__,
223     GLOBAL_ENV_FOR_DYNACONF='PULP',
224     ENV_SWITCHER_FOR_DYNACONF='PULP_ENV',
225     SETTINGS_MODULE_FOR_DYNACONF='/etc/pulp/settings.py',
226     INCLUDES_FOR_DYNACONF=['/etc/pulp/plugins/*'],
227     ENVVAR_FOR_DYNACONF='PULP_SETTINGS',
228 )
229 # HERE ENDS DYNACONF EXTENSION LOAD (No more code below this line)
230
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/pulpcore/app/settings.py b/pulpcore/app/settings.py
--- a/pulpcore/app/settings.py
+++ b/pulpcore/app/settings.py
@@ -223,7 +223,10 @@
     GLOBAL_ENV_FOR_DYNACONF='PULP',
     ENV_SWITCHER_FOR_DYNACONF='PULP_ENV',
     SETTINGS_MODULE_FOR_DYNACONF='/etc/pulp/settings.py',
-    INCLUDES_FOR_DYNACONF=['/etc/pulp/plugins/*'],
+    INCLUDES_FOR_DYNACONF=[
+        '{}.app.settings'.format(plugin_name)
+        for plugin_name in INSTALLED_PULP_PLUGINS
+    ],
     ENVVAR_FOR_DYNACONF='PULP_SETTINGS',
 )
 # HERE ENDS DYNACONF EXTENSION LOAD (No more code below this line)

{"golden_diff": "diff --git a/pulpcore/app/settings.py b/pulpcore/app/settings.py\n--- a/pulpcore/app/settings.py\n+++ b/pulpcore/app/settings.py\n@@ -223,7 +223,10 @@\n     GLOBAL_ENV_FOR_DYNACONF='PULP',\n     ENV_SWITCHER_FOR_DYNACONF='PULP_ENV',\n     SETTINGS_MODULE_FOR_DYNACONF='/etc/pulp/settings.py',\n-    INCLUDES_FOR_DYNACONF=['/etc/pulp/plugins/*'],\n+    INCLUDES_FOR_DYNACONF=[\n+        '{}.app.settings'.format(plugin_name)\n+        for plugin_name in INSTALLED_PULP_PLUGINS\n+    ],\n     ENVVAR_FOR_DYNACONF='PULP_SETTINGS',\n )\n # HERE ENDS DYNACONF EXTENSION LOAD (No more code below this line)\n", "issue": "Update CI files for branch 3.22\n\n", "before_files": [{"content": "\"\"\"\nDjango settings for the Pulp Platform application\n\nNever import this module directly, instead `from django.conf import settings`, see\nhttps://docs.djangoproject.com/en/1.11/topics/settings/#using-settings-in-python-code\n\nFor the full list of settings and their values, see\nhttps://docs.djangoproject.com/en/1.11/ref/settings/\n\"\"\"\n\nimport os\nfrom contextlib import suppress\nfrom importlib import import_module\nfrom pkg_resources import iter_entry_points\n\n# Build paths inside the project like this: os.path.join(BASE_DIR, ...)\nBASE_DIR = os.path.dirname(os.path.abspath(__file__))\n\n# Quick-start development settings - unsuitable for production\n# See https://docs.djangoproject.com/en/1.11/howto/deployment/checklist/\n\n# SECURITY WARNING: don't run with debug turned on in production!\nDEBUG = False\n\nALLOWED_HOSTS = ['*']\n\nMEDIA_ROOT = '/var/lib/pulp/'\nSTATIC_ROOT = os.path.join(MEDIA_ROOT, 'static/')\n\nDEFAULT_FILE_STORAGE = 'pulpcore.app.models.storage.FileSystem'\n\nFILE_UPLOAD_TEMP_DIR = os.path.join(MEDIA_ROOT, 'tmp/')\nWORKING_DIRECTORY = os.path.join(MEDIA_ROOT, 'tmp/')\n\n# List of upload handler classes to be applied in order.\nFILE_UPLOAD_HANDLERS = ('pulpcore.app.files.HashingFileUploadHandler',)\n\nSECRET_KEY = True\n\n# Application definition\n\nINSTALLED_APPS = [\n    # django stuff\n    'django.contrib.admin',\n    'django.contrib.auth',\n    'django.contrib.contenttypes',\n    'django.contrib.sessions',\n    'django.contrib.messages',\n    'django.contrib.staticfiles',\n    # third-party\n    'django_filters',\n    'drf_yasg',\n    'rest_framework',\n    # pulp core app\n    'pulpcore.app',\n]\n\n# Enumerate the installed Pulp plugins during the loading process for use in the status API\nINSTALLED_PULP_PLUGINS = []\n\nfor entry_point in iter_entry_points('pulpcore.plugin'):\n    plugin_app_config = entry_point.load()\n    INSTALLED_PULP_PLUGINS.append(entry_point.module_name)\n    INSTALLED_APPS.append(plugin_app_config)\n\n# Optional apps that help with development, or augment Pulp in some non-critical way\nOPTIONAL_APPS = [\n    'crispy_forms',\n    'django_extensions',\n    'storages',\n]\n\nfor app in OPTIONAL_APPS:\n    # only import if app is installed\n    with suppress(ImportError):\n        import_module(app)\n        INSTALLED_APPS.append(app)\n\nMIDDLEWARE = [\n    'django.middleware.security.SecurityMiddleware',\n    'whitenoise.middleware.WhiteNoiseMiddleware',\n    'django.contrib.sessions.middleware.SessionMiddleware',\n    'django.middleware.common.CommonMiddleware',\n    'django.middleware.csrf.CsrfViewMiddleware',\n    'django.contrib.auth.middleware.AuthenticationMiddleware',\n    'pulpcore.app.middleware.PulpRemoteUserMiddleware',\n    'django.contrib.messages.middleware.MessageMiddleware',\n    'django.middleware.clickjacking.XFrameOptionsMiddleware',\n]\n\nAUTHENTICATION_BACKENDS = [\n    'django.contrib.auth.backends.ModelBackend',\n    'django.contrib.auth.backends.RemoteUserBackend',\n]\n\nROOT_URLCONF = 'pulpcore.app.urls'\n\nTEMPLATES = [\n    {\n        'BACKEND': 'django.template.backends.django.DjangoTemplates',\n        'DIRS': [os.path.join(BASE_DIR, 'templates')],\n        'APP_DIRS': True,\n        'OPTIONS': {\n            'context_processors': [\n                'django.template.context_processors.debug',\n                'django.template.context_processors.request',\n                'django.contrib.auth.context_processors.auth',\n                'django.contrib.messages.context_processors.messages',\n            ],\n        },\n    },\n]\n\nWSGI_APPLICATION = 'pulpcore.app.wsgi.application'\n\nREST_FRAMEWORK = {\n    'URL_FIELD_NAME': '_href',\n    'DEFAULT_FILTER_BACKENDS': ('django_filters.rest_framework.DjangoFilterBackend',),\n    'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination',\n    'PAGE_SIZE': 100,\n    'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n    'DEFAULT_AUTHENTICATION_CLASSES': (\n        'rest_framework.authentication.SessionAuthentication',\n        'rest_framework.authentication.RemoteUserAuthentication',\n        'rest_framework.authentication.BasicAuthentication',\n    ),\n    'UPLOADED_FILES_USE_URL': False,\n    'DEFAULT_VERSIONING_CLASS': 'rest_framework.versioning.URLPathVersioning',\n}\n\n# Password validation\n# https://docs.djangoproject.com/en/dev/ref/settings/#auth-password-validators\n\nAUTH_PASSWORD_VALIDATORS = [\n    {\n        'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',\n    },\n    {\n        'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',\n    },\n    {\n        'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',\n    },\n    {\n        'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',\n    },\n]\n\n\n# Internationalization\n# https://docs.djangoproject.com/en/1.11/topics/i18n/\n\nLANGUAGE_CODE = 'en-us'\n\nTIME_ZONE = 'UTC'\n\nUSE_I18N = 'USE_I18N', True\n\nUSE_L10N = True\n\nUSE_TZ = True\n\n\n# Static files (CSS, JavaScript, Images)\n# https://docs.djangoproject.com/en/1.11/howto/static-files/\n\nSTATIC_URL = '/static/'\n\n# A set of default settings to use if the configuration file in\n# /etc/pulp/ is missing or if it does not have values for every setting\n\n# https://docs.djangoproject.com/en/1.11/ref/settings/#databases\nDATABASES = {\n    'default': {\n        'ENGINE': 'django.db.backends.postgresql_psycopg2',\n        'NAME': 'pulp',\n        'USER': 'pulp',\n        'CONN_MAX_AGE': 0,\n    },\n}\n# https://docs.djangoproject.com/en/1.11/ref/settings/#logging and\n# https://docs.python.org/3/library/logging.config.html\nLOGGING = {\n    'version': 1,\n    'disable_existing_loggers': False,\n    'formatters': {\n        'simple': {'format': 'pulp: %(name)s:%(levelname)s: %(message)s'},\n    },\n    'handlers': {\n        'console': {\n            'class': 'logging.StreamHandler',\n            'formatter': 'simple'\n        }\n    },\n    'loggers': {\n        '': {\n            # The root logger\n            'handlers': ['console'],\n            'level': 'INFO'\n        },\n    }\n}\n\nCONTENT_HOST = ''\nCONTENT_PATH_PREFIX = '/pulp/content/'\nCONTENT_APP_TTL = 30\n\nREMOTE_USER_ENVIRON_NAME = \"REMOTE_USER\"\n\nPROFILE_STAGES_API = False\n\nSWAGGER_SETTINGS = {\n    'DEFAULT_GENERATOR_CLASS': 'pulpcore.app.openapigenerator.PulpOpenAPISchemaGenerator',\n    'DEFAULT_AUTO_SCHEMA_CLASS': 'pulpcore.app.openapigenerator.PulpAutoSchema',\n    'DEFAULT_INFO': 'pulpcore.app.urls.api_info',\n}\n\n# HERE STARTS DYNACONF EXTENSION LOAD (Keep at the very bottom of settings.py)\n# Read more at https://dynaconf.readthedocs.io/en/latest/guides/django.html\nimport dynaconf  # noqa\nsettings = dynaconf.DjangoDynaconf(\n    __name__,\n    GLOBAL_ENV_FOR_DYNACONF='PULP',\n    ENV_SWITCHER_FOR_DYNACONF='PULP_ENV',\n    SETTINGS_MODULE_FOR_DYNACONF='/etc/pulp/settings.py',\n    INCLUDES_FOR_DYNACONF=['/etc/pulp/plugins/*'],\n    ENVVAR_FOR_DYNACONF='PULP_SETTINGS',\n)\n# HERE ENDS DYNACONF EXTENSION LOAD (No more code below this line)\n", "path": "pulpcore/app/settings.py"}], "after_files": [{"content": "\"\"\"\nDjango settings for the Pulp Platform application\n\nNever import this module directly, instead `from django.conf import settings`, see\nhttps://docs.djangoproject.com/en/1.11/topics/settings/#using-settings-in-python-code\n\nFor the full list of settings and their values, see\nhttps://docs.djangoproject.com/en/1.11/ref/settings/\n\"\"\"\n\nimport os\nfrom contextlib import suppress\nfrom importlib import import_module\nfrom pkg_resources import iter_entry_points\n\n# Build paths inside the project like this: os.path.join(BASE_DIR, ...)\nBASE_DIR = os.path.dirname(os.path.abspath(__file__))\n\n# Quick-start development settings - unsuitable for production\n# See https://docs.djangoproject.com/en/1.11/howto/deployment/checklist/\n\n# SECURITY WARNING: don't run with debug turned on in production!\nDEBUG = False\n\nALLOWED_HOSTS = ['*']\n\nMEDIA_ROOT = '/var/lib/pulp/'\nSTATIC_ROOT = os.path.join(MEDIA_ROOT, 'static/')\n\nDEFAULT_FILE_STORAGE = 'pulpcore.app.models.storage.FileSystem'\n\nFILE_UPLOAD_TEMP_DIR = os.path.join(MEDIA_ROOT, 'tmp/')\nWORKING_DIRECTORY = os.path.join(MEDIA_ROOT, 'tmp/')\n\n# List of upload handler classes to be applied in order.\nFILE_UPLOAD_HANDLERS = ('pulpcore.app.files.HashingFileUploadHandler',)\n\nSECRET_KEY = True\n\n# Application definition\n\nINSTALLED_APPS = [\n    # django stuff\n    'django.contrib.admin',\n    'django.contrib.auth',\n    'django.contrib.contenttypes',\n    'django.contrib.sessions',\n    'django.contrib.messages',\n    'django.contrib.staticfiles',\n    # third-party\n    'django_filters',\n    'drf_yasg',\n    'rest_framework',\n    # pulp core app\n    'pulpcore.app',\n]\n\n# Enumerate the installed Pulp plugins during the loading process for use in the status API\nINSTALLED_PULP_PLUGINS = []\n\nfor entry_point in iter_entry_points('pulpcore.plugin'):\n    plugin_app_config = entry_point.load()\n    INSTALLED_PULP_PLUGINS.append(entry_point.module_name)\n    INSTALLED_APPS.append(plugin_app_config)\n\n# Optional apps that help with development, or augment Pulp in some non-critical way\nOPTIONAL_APPS = [\n    'crispy_forms',\n    'django_extensions',\n    'storages',\n]\n\nfor app in OPTIONAL_APPS:\n    # only import if app is installed\n    with suppress(ImportError):\n        import_module(app)\n        INSTALLED_APPS.append(app)\n\nMIDDLEWARE = [\n    'django.middleware.security.SecurityMiddleware',\n    'whitenoise.middleware.WhiteNoiseMiddleware',\n    'django.contrib.sessions.middleware.SessionMiddleware',\n    'django.middleware.common.CommonMiddleware',\n    'django.middleware.csrf.CsrfViewMiddleware',\n    'django.contrib.auth.middleware.AuthenticationMiddleware',\n    'pulpcore.app.middleware.PulpRemoteUserMiddleware',\n    'django.contrib.messages.middleware.MessageMiddleware',\n    'django.middleware.clickjacking.XFrameOptionsMiddleware',\n]\n\nAUTHENTICATION_BACKENDS = [\n    'django.contrib.auth.backends.ModelBackend',\n    'django.contrib.auth.backends.RemoteUserBackend',\n]\n\nROOT_URLCONF = 'pulpcore.app.urls'\n\nTEMPLATES = [\n    {\n        'BACKEND': 'django.template.backends.django.DjangoTemplates',\n        'DIRS': [os.path.join(BASE_DIR, 'templates')],\n        'APP_DIRS': True,\n        'OPTIONS': {\n            'context_processors': [\n                'django.template.context_processors.debug',\n                'django.template.context_processors.request',\n                'django.contrib.auth.context_processors.auth',\n                'django.contrib.messages.context_processors.messages',\n            ],\n        },\n    },\n]\n\nWSGI_APPLICATION = 'pulpcore.app.wsgi.application'\n\nREST_FRAMEWORK = {\n    'URL_FIELD_NAME': '_href',\n    'DEFAULT_FILTER_BACKENDS': ('django_filters.rest_framework.DjangoFilterBackend',),\n    'DEFAULT_PAGINATION_CLASS': 'pulpcore.app.pagination.IDPagination',\n    'PAGE_SIZE': 100,\n    'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',),\n    'DEFAULT_AUTHENTICATION_CLASSES': (\n        'rest_framework.authentication.SessionAuthentication',\n        'rest_framework.authentication.RemoteUserAuthentication',\n        'rest_framework.authentication.BasicAuthentication',\n    ),\n    'UPLOADED_FILES_USE_URL': False,\n    'DEFAULT_VERSIONING_CLASS': 'rest_framework.versioning.URLPathVersioning',\n}\n\n# Password validation\n# https://docs.djangoproject.com/en/dev/ref/settings/#auth-password-validators\n\nAUTH_PASSWORD_VALIDATORS = [\n    {\n        'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',\n    },\n    {\n        'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',\n    },\n    {\n        'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',\n    },\n    {\n        'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',\n    },\n]\n\n\n# Internationalization\n# https://docs.djangoproject.com/en/1.11/topics/i18n/\n\nLANGUAGE_CODE = 'en-us'\n\nTIME_ZONE = 'UTC'\n\nUSE_I18N = 'USE_I18N', True\n\nUSE_L10N = True\n\nUSE_TZ = True\n\n\n# Static files (CSS, JavaScript, Images)\n# https://docs.djangoproject.com/en/1.11/howto/static-files/\n\nSTATIC_URL = '/static/'\n\n# A set of default settings to use if the configuration file in\n# /etc/pulp/ is missing or if it does not have values for every setting\n\n# https://docs.djangoproject.com/en/1.11/ref/settings/#databases\nDATABASES = {\n    'default': {\n        'ENGINE': 'django.db.backends.postgresql_psycopg2',\n        'NAME': 'pulp',\n        'USER': 'pulp',\n        'CONN_MAX_AGE': 0,\n    },\n}\n# https://docs.djangoproject.com/en/1.11/ref/settings/#logging and\n# https://docs.python.org/3/library/logging.config.html\nLOGGING = {\n    'version': 1,\n    'disable_existing_loggers': False,\n    'formatters': {\n        'simple': {'format': 'pulp: %(name)s:%(levelname)s: %(message)s'},\n    },\n    'handlers': {\n        'console': {\n            'class': 'logging.StreamHandler',\n            'formatter': 'simple'\n        }\n    },\n    'loggers': {\n        '': {\n            # The root logger\n            'handlers': ['console'],\n            'level': 'INFO'\n        },\n    }\n}\n\nCONTENT_HOST = ''\nCONTENT_PATH_PREFIX = '/pulp/content/'\nCONTENT_APP_TTL = 30\n\nREMOTE_USER_ENVIRON_NAME = \"REMOTE_USER\"\n\nPROFILE_STAGES_API = False\n\nSWAGGER_SETTINGS = {\n    'DEFAULT_GENERATOR_CLASS': 'pulpcore.app.openapigenerator.PulpOpenAPISchemaGenerator',\n    'DEFAULT_AUTO_SCHEMA_CLASS': 'pulpcore.app.openapigenerator.PulpAutoSchema',\n    'DEFAULT_INFO': 'pulpcore.app.urls.api_info',\n}\n\n# HERE STARTS DYNACONF EXTENSION LOAD (Keep at the very bottom of settings.py)\n# Read more at https://dynaconf.readthedocs.io/en/latest/guides/django.html\nimport dynaconf  # noqa\nsettings = dynaconf.DjangoDynaconf(\n    __name__,\n    GLOBAL_ENV_FOR_DYNACONF='PULP',\n    ENV_SWITCHER_FOR_DYNACONF='PULP_ENV',\n    SETTINGS_MODULE_FOR_DYNACONF='/etc/pulp/settings.py',\n    INCLUDES_FOR_DYNACONF=[\n        '{}.app.settings'.format(plugin_name)\n        for plugin_name in INSTALLED_PULP_PLUGINS\n    ],\n    ENVVAR_FOR_DYNACONF='PULP_SETTINGS',\n)\n# HERE ENDS DYNACONF EXTENSION LOAD (No more code below this line)\n", "path": "pulpcore/app/settings.py"}]}