Thank you for your response.
I fixed this issue by adding follow code instead of application = default_app() code line.
"import bottle"
"application = bottle.default_app() "
But I have got other error in error.log file.
/usr/lib/python3.6/re.py:301: DeprecationWarning: Flags not at the start of the expression ((?m)[urbURB]?(?:''( (truncated)
2017-09-29 18:23:26,077: p = sre_compile.compile(pattern, flags)
2017-09-29 18:23:26,080: /usr/lib/python3.6/sre_parse.py:763: DeprecationWarning: Flags not at the start of the expression {{((?:((?m)[urbURB (truncated)
2017-09-29 18:23:26,080: p = _parse_sub(source, state, sub_verbose)
I use tpl files for example current_tasks.tpl in my project but get error at http://xiaoming224.pythonanywhere.com/.
The page says:
Error: 500 Internal Server Error
Sorry, the requested URL 'http://xiaoming224.pythonanywhere.com/' caused an error:
Template 'current_tasks' not found.