报错详情
Internal Server Error: /xadmin/goods/goods/52/update/
Traceback (most recent call last):
File "F:\Projects\VueShop\lib\site-packages\django\template\backends\django.py", line 66, in render
return self.template.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 207, in render
return self._render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 199, in _render
return self.nodelist.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 990, in render
bit = node.render_annotated(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 957, in render_annotated
return self.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\defaulttags.py", line 322, in render
return nodelist.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 990, in render
bit = node.render_annotated(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 957, in render_annotated
return self.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\defaulttags.py", line 322, in render
return nodelist.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 990, in render
bit = node.render_annotated(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 957, in render_annotated
return self.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\defaulttags.py", line 322, in render
return nodelist.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 993, in render
bits.append(force_text(bit))
File "F:\Projects\VueShop\lib\site-packages\django\utils\encoding.py", line 76, in force_text
s = six.text_type(s)
File "F:\Projects\VueShop\lib\site-packages\django\utils\html.py", line 385, in
klass.__str__ = lambda self: mark_safe(klass_str(self))
File "F:\Projects\VueShop\lib\site-packages\django\forms\boundfield.py", line 41, in __str__
return self.as_widget()
File "F:\Projects\VueShop\lib\site-packages\django\forms\boundfield.py", line 120, in as_widget
**kwargs
File "F:\Projects\ElectricalFreash\extra_apps\DjangoUeditor\widgets.py", line 201, in render
return mark_safe(render_to_string('ueditor.html', context))
File "F:\Projects\VueShop\lib\site-packages\django\template\loader.py", line 67, in render_to_string
template = get_template(template_name, using=using)
File "F:\Projects\VueShop\lib\site-packages\django\template\loader.py", line 25, in get_template
raise TemplateDoesNotExist(template_name, chain=chain)
django.template.exceptions.TemplateDoesNotExist: ueditor.html
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "F:\Projects\VueShop\lib\site-packages\django\template\backends\django.py", line 66, in render
return self.template.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 207, in render
return self._render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 199, in _render
return self.nodelist.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 990, in render
bit = node.render_annotated(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 957, in render_annotated
return self.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\loader_tags.py", line 177, in render
return compiled_parent._render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 199, in _render
return self.nodelist.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 990, in render
bit = node.render_annotated(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 957, in render_annotated
return self.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\loader_tags.py", line 177, in render
return compiled_parent._render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 199, in _render
return self.nodelist.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 990, in render
bit = node.render_annotated(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 957, in render_annotated
return self.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\loader_tags.py", line 72, in render
result = block.nodelist.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 990, in render
bit = node.render_annotated(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 957, in render_annotated
return self.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\loader_tags.py", line 72, in render
result = block.nodelist.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 990, in render
bit = node.render_annotated(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 957, in render_annotated
return self.render(context)
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\templatetags\crispy_forms_tags.py", line 199, in render
c = self.get_render(context).flatten()
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\templatetags\crispy_forms_tags.py", line 118, in get_render
actual_form.form_html = helper.render_layout(actual_form, node_context, template_pack=self.template_pack)
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\helper.py", line 308, in render_layout
template_pack=template_pack
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\layout.py", line 140, in render
return self.get_rendered_fields(form, form_style, context, template_pack, **kwargs)
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\layout.py", line 104, in get_rendered_fields
for field in self.fields
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\layout.py", line 104, in
for field in self.fields
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\utils.py", line 62, in render_field
form, form_style, context, template_pack=template_pack,
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\layout.py", line 361, in render
fields = self.get_rendered_fields(form, form_style, context, template_pack, **kwargs)
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\layout.py", line 104, in get_rendered_fields
for field in self.fields
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\layout.py", line 104, in
for field in self.fields
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\utils.py", line 62, in render_field
form, form_style, context, template_pack=template_pack,
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\layout.py", line 361, in render
fields = self.get_rendered_fields(form, form_style, context, template_pack, **kwargs)
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\layout.py", line 104, in get_rendered_fields
for field in self.fields
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\layout.py", line 104, in
for field in self.fields
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\utils.py", line 62, in render_field
form, form_style, context, template_pack=template_pack,
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\layout.py", line 287, in render
fields = self.get_rendered_fields(form, form_style, context, template_pack, **kwargs)
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\layout.py", line 104, in get_rendered_fields
for field in self.fields
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\layout.py", line 104, in
for field in self.fields
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\utils.py", line 148, in render_field
html = template.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\backends\django.py", line 68, in render
reraise(exc, self.backend)
File "F:\Projects\VueShop\lib\site-packages\django\template\backends\django.py", line 89, in reraise
six.reraise(exc.__class__, new, sys.exc_info()[2])
File "F:\Projects\VueShop\lib\site-packages\django\utils\six.py", line 685, in reraise
raise value.with_traceback(tb)
File "F:\Projects\VueShop\lib\site-packages\django\template\backends\django.py", line 66, in render
return self.template.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 207, in render
return self._render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 199, in _render
return self.nodelist.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 990, in render
bit = node.render_annotated(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 957, in render_annotated
return self.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\defaulttags.py", line 322, in render
return nodelist.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 990, in render
bit = node.render_annotated(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 957, in render_annotated
return self.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\defaulttags.py", line 322, in render
return nodelist.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 990, in render
bit = node.render_annotated(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 957, in render_annotated
return self.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\defaulttags.py", line 322, in render
return nodelist.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 993, in render
bits.append(force_text(bit))
File "F:\Projects\VueShop\lib\site-packages\django\utils\encoding.py", line 76, in force_text
s = six.text_type(s)
File "F:\Projects\VueShop\lib\site-packages\django\utils\html.py", line 385, in
klass.__str__ = lambda self: mark_safe(klass_str(self))
File "F:\Projects\VueShop\lib\site-packages\django\forms\boundfield.py", line 41, in __str__
return self.as_widget()
File "F:\Projects\VueShop\lib\site-packages\django\forms\boundfield.py", line 120, in as_widget
**kwargs
File "F:\Projects\ElectricalFreash\extra_apps\DjangoUeditor\widgets.py", line 201, in render
return mark_safe(render_to_string('ueditor.html', context))
File "F:\Projects\VueShop\lib\site-packages\django\template\loader.py", line 67, in render_to_string
template = get_template(template_name, using=using)
File "F:\Projects\VueShop\lib\site-packages\django\template\loader.py", line 25, in get_template
raise TemplateDoesNotExist(template_name, chain=chain)
django.template.exceptions.TemplateDoesNotExist: ueditor.html
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "F:\Projects\VueShop\lib\site-packages\django\core\handlers\exception.py", line 41, in inner
response = get_response(request)
File "F:\Projects\VueShop\lib\site-packages\django\core\handlers\base.py", line 217, in _get_response
response = self.process_exception_by_middleware(e, request)
File "F:\Projects\VueShop\lib\site-packages\django\core\handlers\base.py", line 215, in _get_response
response = response.render()
File "F:\Projects\VueShop\lib\site-packages\django\template\response.py", line 107, in render
self.content = self.rendered_content
File "F:\Projects\VueShop\lib\site-packages\django\template\response.py", line 84, in rendered_content
content = template.render(context, self._request)
File "F:\Projects\VueShop\lib\site-packages\django\template\backends\django.py", line 68, in render
reraise(exc, self.backend)
File "F:\Projects\VueShop\lib\site-packages\django\template\backends\django.py", line 89, in reraise
six.reraise(exc.__class__, new, sys.exc_info()[2])
File "F:\Projects\VueShop\lib\site-packages\django\utils\six.py", line 685, in reraise
raise value.with_traceback(tb)
File "F:\Projects\VueShop\lib\site-packages\django\template\backends\django.py", line 66, in render
return self.template.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 207, in render
return self._render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 199, in _render
return self.nodelist.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 990, in render
bit = node.render_annotated(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 957, in render_annotated
return self.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\loader_tags.py", line 177, in render
return compiled_parent._render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 199, in _render
return self.nodelist.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 990, in render
bit = node.render_annotated(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 957, in render_annotated
return self.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\loader_tags.py", line 177, in render
return compiled_parent._render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 199, in _render
return self.nodelist.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 990, in render
bit = node.render_annotated(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 957, in render_annotated
return self.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\loader_tags.py", line 72, in render
result = block.nodelist.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 990, in render
bit = node.render_annotated(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 957, in render_annotated
return self.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\loader_tags.py", line 72, in render
result = block.nodelist.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 990, in render
bit = node.render_annotated(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 957, in render_annotated
return self.render(context)
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\templatetags\crispy_forms_tags.py", line 199, in render
c = self.get_render(context).flatten()
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\templatetags\crispy_forms_tags.py", line 118, in get_render
actual_form.form_html = helper.render_layout(actual_form, node_context, template_pack=self.template_pack)
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\helper.py", line 308, in render_layout
template_pack=template_pack
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\layout.py", line 140, in render
return self.get_rendered_fields(form, form_style, context, template_pack, **kwargs)
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\layout.py", line 104, in get_rendered_fields
for field in self.fields
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\layout.py", line 104, in
for field in self.fields
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\utils.py", line 62, in render_field
form, form_style, context, template_pack=template_pack,
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\layout.py", line 361, in render
fields = self.get_rendered_fields(form, form_style, context, template_pack, **kwargs)
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\layout.py", line 104, in get_rendered_fields
for field in self.fields
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\layout.py", line 104, in
for field in self.fields
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\utils.py", line 62, in render_field
form, form_style, context, template_pack=template_pack,
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\layout.py", line 361, in render
fields = self.get_rendered_fields(form, form_style, context, template_pack, **kwargs)
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\layout.py", line 104, in get_rendered_fields
for field in self.fields
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\layout.py", line 104, in
for field in self.fields
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\utils.py", line 62, in render_field
form, form_style, context, template_pack=template_pack,
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\layout.py", line 287, in render
fields = self.get_rendered_fields(form, form_style, context, template_pack, **kwargs)
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\layout.py", line 104, in get_rendered_fields
for field in self.fields
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\layout.py", line 104, in
for field in self.fields
File "F:\Projects\VueShop\lib\site-packages\crispy_forms\utils.py", line 148, in render_field
html = template.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\backends\django.py", line 68, in render
reraise(exc, self.backend)
File "F:\Projects\VueShop\lib\site-packages\django\template\backends\django.py", line 89, in reraise
six.reraise(exc.__class__, new, sys.exc_info()[2])
File "F:\Projects\VueShop\lib\site-packages\django\utils\six.py", line 685, in reraise
raise value.with_traceback(tb)
File "F:\Projects\VueShop\lib\site-packages\django\template\backends\django.py", line 66, in render
return self.template.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 207, in render
return self._render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 199, in _render
return self.nodelist.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 990, in render
bit = node.render_annotated(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 957, in render_annotated
return self.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\defaulttags.py", line 322, in render
return nodelist.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 990, in render
bit = node.render_annotated(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 957, in render_annotated
return self.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\defaulttags.py", line 322, in render
return nodelist.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 990, in render
bit = node.render_annotated(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 957, in render_annotated
return self.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\defaulttags.py", line 322, in render
return nodelist.render(context)
File "F:\Projects\VueShop\lib\site-packages\django\template\base.py", line 993, in render
bits.append(force_text(bit))
File "F:\Projects\VueShop\lib\site-packages\django\utils\encoding.py", line 76, in force_text
s = six.text_type(s)
File "F:\Projects\VueShop\lib\site-packages\django\utils\html.py", line 385, in
klass.__str__ = lambda self: mark_safe(klass_str(self))
File "F:\Projects\VueShop\lib\site-packages\django\forms\boundfield.py", line 41, in __str__
return self.as_widget()
File "F:\Projects\VueShop\lib\site-packages\django\forms\boundfield.py", line 120, in as_widget
**kwargs
File "F:\Projects\ElectricalFreash\extra_apps\DjangoUeditor\widgets.py", line 201, in render
return mark_safe(render_to_string('ueditor.html', context))
File "F:\Projects\VueShop\lib\site-packages\django\template\loader.py", line 67, in render_to_string
template = get_template(template_name, using=using)
File "F:\Projects\VueShop\lib\site-packages\django\template\loader.py", line 25, in get_template
raise TemplateDoesNotExist(template_name, chain=chain)
django.template.exceptions.TemplateDoesNotExist: ueditor.html
[14/Feb/2019 11:35:13] "GET /xadmin/goods/goods/52/update/ HTTP/1.1" 500 1029210
INSTALLED_APPS = [
……
'DjangoUeditor',
……
]