Я обновляю python2 .7 до python3 .7 и Django с 1.8 до 1.11, здесь я использую пакет djangocms. все работает нормально в python2 .7 и Django 1.8, но после обновления у меня появляется проблема на одной из его страниц. Использование django -cms == 3.6.0 и поддерживающих его пакетов. введите описание изображения здесь
И вот журнал консоли,
2020-08-03 01:33:32,065 [ERROR] exception/handle_uncaught_exception(): Internal Server Error: /schedule-appointment/
Traceback (most recent call last):
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/core/handlers/base.py", line 249, in _legacy_get_response
response = self._get_response(request)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/core/handlers/base.py", line 217, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/core/handlers/base.py", line 215, in _get_response
response = response.render()
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/response.py", line 107, in render
self.content = self.rendered_content
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/response.py", line 84, in rendered_content
content = template.render(context, self._request)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/backends/django.py", line 66, in render
return self.template.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 207, in render
return self._render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 199, in _render
return self.nodelist.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 990, in render
bit = node.render_annotated(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 957, in render_annotated
return self.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/loader_tags.py", line 177, in render
return compiled_parent._render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 199, in _render
return self.nodelist.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 990, in render
bit = node.render_annotated(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 957, in render_annotated
return self.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/classytags/core.py", line 146, in render
return self.render_tag(context, **kwargs)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/cms/templatetags/cms_tags.py", line 448, in render_tag
return nodelist.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 990, in render
bit = node.render_annotated(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 957, in render_annotated
return self.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/classytags/core.py", line 146, in render
return self.render_tag(context, **kwargs)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/sekizai/templatetags/sekizai_tags.py", line 83, in render_tag
rendered_contents = nodelist.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 990, in render
bit = node.render_annotated(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 957, in render_annotated
return self.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/classytags/core.py", line 146, in render
return self.render_tag(context, **kwargs)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/sekizai/templatetags/sekizai_tags.py", line 83, in render_tag
rendered_contents = nodelist.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 990, in render
bit = node.render_annotated(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 957, in render_annotated
return self.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/loader_tags.py", line 72, in render
result = block.nodelist.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 990, in render
bit = node.render_annotated(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 957, in render_annotated
return self.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/classytags/core.py", line 146, in render
return self.render_tag(context, **kwargs)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/cms/templatetags/cms_tags.py", line 313, in render_tag
nodelist=nodelist,
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/cms/plugin_rendering.py", line 343, in render_page_placeholder
nodelist=None,
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/cms/plugin_rendering.py", line 259, in render_placeholder
placeholder_content = ''.join(plugin_content)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/cms/plugin_rendering.py", line 456, in render_plugins
yield self.render_plugin(plugin, context, placeholder, editable)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/cms/plugin_rendering.py", line 435, in render_plugin
content = template.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/backends/django.py", line 66, in render
return self.template.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 207, in render
return self._render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 199, in _render
return self.nodelist.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 990, in render
bit = node.render_annotated(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 957, in render_annotated
return self.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/loader_tags.py", line 63, in render
result = self.nodelist.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 990, in render
bit = node.render_annotated(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 957, in render_annotated
return self.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/defaulttags.py", line 216, in render
nodelist.append(node.render_annotated(context))
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 957, in render_annotated
return self.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/library.py", line 203, in render
output = self.func(*resolved_args, **resolved_kwargs)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/cms/templatetags/cms_tags.py", line 199, in render_plugin
editable=renderer._placeholders_are_editable,
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/cms/plugin_rendering.py", line 435, in render_plugin
content = template.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/backends/django.py", line 66, in render
return self.template.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 207, in render
return self._render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 199, in _render
return self.nodelist.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 990, in render
bit = node.render_annotated(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 957, in render_annotated
return self.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/defaulttags.py", line 216, in render
nodelist.append(node.render_annotated(context))
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 957, in render_annotated
return self.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/defaulttags.py", line 529, in render
return self.nodelist.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 990, in render
bit = node.render_annotated(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 957, in render_annotated
return self.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/library.py", line 203, in render
output = self.func(*resolved_args, **resolved_kwargs)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/cms/templatetags/cms_tags.py", line 199, in render_plugin
editable=renderer._placeholders_are_editable,
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/cms/plugin_rendering.py", line 435, in render_plugin
content = template.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/backends/django.py", line 66, in render
return self.template.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 207, in render
return self._render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 199, in _render
return self.nodelist.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 990, in render
bit = node.render_annotated(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 957, in render_annotated
return self.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/defaulttags.py", line 216, in render
nodelist.append(node.render_annotated(context))
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/base.py", line 957, in render_annotated
return self.render(context)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/library.py", line 203, in render
output = self.func(*resolved_args, **resolved_kwargs)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/cms/templatetags/cms_tags.py", line 199, in render_plugin
editable=renderer._placeholders_are_editable,
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/cms/plugin_rendering.py", line 432, in render_plugin
template = plugin._get_render_template(context, instance, placeholder)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/cms/plugin_base.py", line 162, in _get_render_template
template = self.get_render_template(context, instance, placeholder)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/djangocms_forms/cms_plugins.py", line 115, in get_render_template
'djangocms_forms/form_template/default.html'
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/loader.py", line 48, in select_template
return engine.get_template(template_name)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/backends/django.py", line 39, in get_template
return Template(self.engine.get_template(template_name), self)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/engine.py", line 162, in get_template
template, origin = self.find_template(template_name)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/engine.py", line 136, in find_template
name, template_dirs=dirs, skip=skip,
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/loaders/base.py", line 38, in get_template
contents = self.get_contents(origin)
File "/home/local/TAG/ajaykumarr/.virtualenvs/medi37/lib/python3.7/site-packages/django/template/loaders/filesystem.py", line 28, in get_contents
with io.open(origin.name, encoding=self.engine.file_charset) as fp:
IsADirectoryError: [Errno 21] Is a directory: '/home/local/TAG/ajaykumarr/Desktop/workspace/projects/advantage_retainer/medi-cms/medi/templates'
2020-08-03 01:33:32,243 [ERROR] basehttp/log_message(): "GET /schedule-appointment/ HTTP/1.1" 500 697156
2020-08-03 01:33:32,243 [ERROR] basehttp/log_message(): "GET /schedule-appointment/ HTTP/1.1" 500 697156
Я не могу понять, в чем проблема, прошу вас предложить мне какое-то решение, чтобы решить эту проблему . это будет мне очень полезно. Заранее спасибо.