Closed ArashJavan closed 9 years ago
hi,
as i saw in the code 'render_autoindex' calls 'render_template' and passes its own context-dict , so if a user want to make his own template and pass his own parameters two template it crashes.
the paramter 'form' throws an exception because it cannot be added to the 'render_autoindex'
my fault did not see template_context parameter
hi,
as i saw in the code 'render_autoindex' calls 'render_template' and passes its own context-dict , so if a user want to make his own template and pass his own parameters two template it crashes.
return autoindex.render_autoindex(path='/', endpoint = '.app_root', template='myui.html', form=form)
the paramter 'form' throws an exception because it cannot be added to the 'render_autoindex'