Environment: Request Method: GET Request URL: http://127.0.0.1:8000/admin_url/auth/user/add/ Django Version: 5.2b1 Python Version: 3.12.1 Installed Applications: ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', 'django.contrib.redirects', 'django_otp', 'django_otp.plugins.otp_totp', 'django_otp.plugins.otp_static', 'sslserver', 'captcha', 'qr_code', 'corsheaders', 'rest_framework', 'rest_framework.authtoken', 'sass_processor', 'wkhtmltopdf, 'custom_app1', 'custom_app2', 'custom_app3', 'custom_app4', 'custom_app5', 'custom_app6', 'custom_app7', ] Installed Middleware: ['django.middleware.security.SecurityMiddleware', 'whitenoise.middleware.WhiteNoiseMiddleware', 'corsheaders.middleware.CorsMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django_otp.middleware.OTPMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware'] Template loader postmortem Django tried loading these templates, in this order: Using engine django: * django.template.loaders.filesystem.Loader: /my/site/project_directory/baseproject/templates/django/forms/errors/list/ul.html (Source does not exist) * django.template.loaders.filesystem.Loader: /my/site/project_directory/siteuser/templates/user/django/forms/errors/list/ul.html (Source does not exist) * django.template.loaders.filesystem.Loader: /my/site/project_directory/custom_app1/templates/django/forms/errors/list/ul.html (Source does not exist) * django.template.loaders.filesystem.Loader: /my/site/project_directory/custom_app4/templates/custom_app4/django/forms/errors/list/ul.html (Source does not exist) * django.template.loaders.filesystem.Loader: /my/site/project_directory/custom_app2/templates/custom_app2/django/forms/errors/list/ul.html (Source does not exist) * django.template.loaders.filesystem.Loader: /my/site/project_directory/custom_app3/templates/custom_app3/django/forms/errors/list/ul.html (Source does not exist) * django.template.loaders.filesystem.Loader: /my/site/project_directory/custom_app5/templates/custom_app5/django/forms/errors/list/ul.html (Source does not exist) * django.template.loaders.filesystem.Loader: /my/site/project_directory/custom_app6/templates/custom_app6/django/forms/errors/list/ul.html (Source does not exist) * django.template.loaders.filesystem.Loader: /my/site/project_directory/custom_app7/templates/django/forms/errors/list/ul.html (Source does not exist) * django.template.loaders.filesystem.Loader: /opt/conda/envs/runtime/lib/python3.12/site-packages/django/contrib/admin/templates/django/forms/errors/list/ul.html (Source does not exist) * django.template.loaders.filesystem.Loader: /opt/conda/envs/runtime/lib/python3.12/site-packages/django/contrib/auth/templates/django/forms/errors/list/ul.html (Source does not exist) * django.template.loaders.app_directories.Loader: /opt/conda/envs/runtime/lib/python3.12/site-packages/django/contrib/admin/templates/django/forms/errors/list/ul.html (Source does not exist) * django.template.loaders.app_directories.Loader: /opt/conda/envs/runtime/lib/python3.12/site-packages/django/contrib/auth/templates/django/forms/errors/list/ul.html (Source does not exist) * django.template.loaders.app_directories.Loader: /opt/conda/envs/runtime/lib/python3.12/site-packages/django_otp/templates/django/forms/errors/list/ul.html (Source does not exist) * django.template.loaders.app_directories.Loader: /opt/conda/envs/runtime/lib/python3.12/site-packages/django_otp/plugins/otp_totp/templates/django/forms/errors/list/ul.html (Source does not exist) * django.template.loaders.app_directories.Loader: /opt/conda/envs/runtime/lib/python3.12/site-packages/captcha/templates/django/forms/errors/list/ul.html (Source does not exist) * django.template.loaders.app_directories.Loader: /opt/conda/envs/runtime/lib/python3.12/site-packages/rest_framework/templates/django/forms/errors/list/ul.html (Source does not exist) * django.template.loaders.app_directories.Loader: /my/site/project_directory/siteuser/templates/django/forms/errors/list/ul.html (Source does not exist) * django.template.loaders.app_directories.Loader: /my/site/project_directory/custom_app5/templates/django/forms/errors/list/ul.html (Source does not exist) * django.template.loaders.app_directories.Loader: /my/site/project_directory/custom_app2/templates/django/forms/errors/list/ul.html (Source does not exist) * django.template.loaders.app_directories.Loader: /my/site/project_directory/custom_app4/templates/django/forms/errors/list/ul.html (Source does not exist) * django.template.loaders.app_directories.Loader: /my/site/project_directory/custom_app3/templates/django/forms/errors/list/ul.html (Source does not exist) * django.template.loaders.app_directories.Loader: /my/site/project_directory/custom_app6/templates/django/forms/errors/list/ul.html (Source does not exist) * django.template.loaders.app_directories.Loader: /my/site/project_directory/custom_app1/templates/django/forms/errors/list/ul.html (Source does not exist) * django.template.loaders.app_directories.Loader: /my/site/project_directory/baseproject/templates/django/forms/errors/list/ul.html (Source does not exist) * django.template.loaders.app_directories.Loader: /my/site/project_directory/custom_app7/templates/django/forms/errors/list/ul.html (Source does not exist) * django.template.loaders.app_directories.Loader: /opt/conda/envs/runtime/lib/python3.12/site-packages/polaris/templates/django/forms/errors/list/ul.html (Source does not exist) Template error: In template /opt/conda/envs/runtime/lib/python3.12/site-packages/django/contrib/admin/templates/admin/includes/fieldset.html, error at line 12 django/forms/errors/list/ul.html 2 : {% if fieldset.name %} 3 : {% if fieldset.is_collapsible %}
{% endif %} 4 : {{ fieldset.name }} 5 : {% if fieldset.is_collapsible %}{% endif %} 6 : {% endif %} 7 : {% if fieldset.description %} 8 :
{{ fieldset.description|safe }}
9 : {% endif %} 10 : {% for line in fieldset %} 11 :
12 : {% if line.fields|length == 1 %} {{ line.errors }} {% else %}
{% endif %} 13 : {% for field in line %} 14 :
15 : {% if not line.fields|length == 1 and not field.is_readonly %}{{ field.errors }}{% endif %} 16 :
17 : {% if field.is_checkbox %} 18 : {{ field.field }}{{ field.label_tag }} 19 : {% else %} 20 : {{ field.label_tag }} 21 : {% if field.is_readonly %} 22 :
{{ field.contents }}
Traceback (most recent call last): File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/backends/django.py", line 107, in render return self.template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/base.py", line 171, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/test/utils.py", line 114, in instrumented_test_render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/test/utils.py", line 114, in instrumented_test_render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/test/utils.py", line 114, in instrumented_test_render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/loader_tags.py", line 159, in render return compiled_parent._render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/test/utils.py", line 114, in instrumented_test_render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/loader_tags.py", line 65, in render result = block.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/loader_tags.py", line 210, in render return template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/base.py", line 173, in render return self._render(context) ^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/test/utils.py", line 114, in instrumented_test_render return self.nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/defaulttags.py", line 243, in render nodelist.append(node.render_annotated(context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/defaulttags.py", line 327, in render return nodelist.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/base.py", line 1016, in render return SafeString("".join([node.render_annotated(context) for node in self])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/base.py", line 977, in render_annotated return self.render(context) ^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/base.py", line 1075, in render output = self.filter_expression.resolve(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/base.py", line 722, in resolve obj = self.var.resolve(context) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/base.py", line 854, in resolve value = self._resolve_lookup(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/base.py", line 925, in _resolve_lookup current = current() ^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/contrib/admin/helpers.py", line 162, in errors "\n".join( ^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/contrib/admin/helpers.py", line 163, in self.form[f].errors.as_ul() ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/forms/utils.py", line 110, in as_ul return self.render(self.template_name_ul) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/forms/utils.py", line 55, in render return mark_safe(renderer.render(template, context)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/forms/renderers.py", line 30, in render template = self.get_template(template_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/forms/renderers.py", line 114, in get_template return get_template(template_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/loader.py", line 19, in get_template raise TemplateDoesNotExist(template_name, chain=chain) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The above exception (django/forms/errors/list/ul.html) was the direct cause of the following exception: File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/core/handlers/exception.py", line 42, in inner response = await get_response(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/core/handlers/base.py", line 284, in _get_response_async response = await sync_to_async( File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/response.py", line 114, in render self.content = self.rendered_content ^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/response.py", line 92, in rendered_content return template.render(context, self._request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/backends/django.py", line 109, in render reraise(exc, self.backend) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/conda/envs/runtime/lib/python3.12/site-packages/django/template/backends/django.py", line 130, in reraise raise new from exc ^^^^^^^^^^^^^^^^^^ Exception Type: TemplateDoesNotExist at /admin_url/auth/user/add/ Exception Value: django/forms/errors/list/ul.html