Internal Server Error: /xadmin/courses/course/add/
Traceback (most recent call last):
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\core\handlers\exception.py”, line 34, in inner
response = get_response(request)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\core\handlers\base.py”, line 145, in _get_response
response = self.process_exception_by_middleware(e, request)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\core\handlers\base.py”, line 143, in _get_response
response = response.render()
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\response.py”, line 106, in render
self.content = self.rendered_content
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\response.py”, line 83, in rendered_content
content = template.render(context, self._request)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\backends\django.py”, line 61, in render
return self.template.render(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\base.py”, line 171, in render
return self._render(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\base.py”, line 163, in _render
return self.nodelist.render(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\base.py”, line 937, in render
bit = node.render_annotated(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\base.py”, line 904, in render_annotated
return self.render(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\loader_tags.py”, line 150, in render
return compiled_parent._render(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\base.py”, line 163, in _render
return self.nodelist.render(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\base.py”, line 937, in render
bit = node.render_annotated(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\base.py”, line 904, in render_annotated
return self.render(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\loader_tags.py”, line 150, in render
return compiled_parent._render(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\base.py”, line 163, in _render
return self.nodelist.render(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\base.py”, line 937, in render
bit = node.render_annotated(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\base.py”, line 904, in render_annotated
return self.render(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\loader_tags.py”, line 62, in render
result = block.nodelist.render(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\base.py”, line 937, in render
bit = node.render_annotated(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\base.py”, line 904, in render_annotated
return self.render(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\loader_tags.py”, line 62, in render
result = block.nodelist.render(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\base.py”, line 937, in render
bit = node.render_annotated(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\base.py”, line 904, in render_annotated
return self.render(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\crispy_forms\templatetags\crispy_forms_tags.py”, line 200, in render
c = self.get_render(context).flatten()
File “C:\Users\Apple\Envs\mxonline\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 “C:\Users\Apple\Envs\mxonline\lib\site-packages\crispy_forms\helper.py”, line 305, in render_layout
html = self.layout.render(
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\crispy_forms\layout.py”, line 140, in render
return self.get_rendered_fields(form, form_style, context, template_pack, **kwargs)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\crispy_forms\layout.py”, line 102, in get_rendered_fields
return ‘’.join(
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\crispy_forms\layout.py”, line 103, in
render_field(field, form, form_style, context, template_pack=template_pack, **kwargs)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\crispy_forms\utils.py”, line 60, in render_field
return field.render(
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\crispy_forms\layout.py”, line 361, in render
fields = self.get_rendered_fields(form, form_style, context, template_pack, **kwargs)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\crispy_forms\layout.py”, line 102, in get_rendered_fields
return ‘’.join(
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\crispy_forms\layout.py”, line 103, in
render_field(field, form, form_style, context, template_pack=template_pack, **kwargs)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\crispy_forms\utils.py”, line 60, in render_field
return field.render(
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\crispy_forms\layout.py”, line 361, in render
fields = self.get_rendered_fields(form, form_style, context, template_pack, **kwargs)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\crispy_forms\layout.py”, line 102, in get_rendered_fields
return ‘’.join(
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\crispy_forms\layout.py”, line 103, in
render_field(field, form, form_style, context, template_pack=template_pack, **kwargs)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\crispy_forms\utils.py”, line 60, in render_field
return field.render(
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\crispy_forms\layout.py”, line 287, in render
fields = self.get_rendered_fields(form, form_style, context, template_pack, **kwargs)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\crispy_forms\layout.py”, line 102, in get_rendered_fields
return ‘’.join(
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\crispy_forms\layout.py”, line 103, in
render_field(field, form, form_style, context, template_pack=template_pack, **kwargs)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\crispy_forms\utils.py”, line 147, in render_field
html = template.render(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\backends\django.py”, line 61, in render
return self.template.render(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\base.py”, line 171, in render
return self._render(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\base.py”, line 163, in _render
return self.nodelist.render(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\base.py”, line 937, in render
bit = node.render_annotated(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\base.py”, line 904, in render_annotated
return self.render(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\defaulttags.py”, line 309, in render
return nodelist.render(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\base.py”, line 937, in render
bit = node.render_annotated(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\base.py”, line 904, in render_annotated
return self.render(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\defaulttags.py”, line 309, in render
return nodelist.render(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\base.py”, line 937, in render
bit = node.render_annotated(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\base.py”, line 904, in render_annotated
return self.render(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\defaulttags.py”, line 309, in render
return nodelist.render(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\base.py”, line 937, in render
bit = node.render_annotated(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\template\base.py”, line 904, in render_annotated
return self.render(context)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\crispy_forms\templatetags\crispy_forms_field.py”, line 161, in render
return str(field)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\utils\html.py”, line 388, in
klass.str = lambda self: mark_safe(klass_str(self))
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\forms\boundfield.py”, line 32, in str
return self.as_widget() + self.as_hidden(only_initial=True)
File “C:\Users\Apple\Envs\mxonline\lib\site-packages\django\forms\boundfield.py”, line 89, in as_widget
return widget.render(
TypeError: render() got an unexpected keyword argument ‘renderer’