i was following tutorial building website and i have this error: "Internal Server Error. The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application." this when i add this code in controllers.py:
@http.route('/academy/<name>/', auth='public', website=True)
def teacher(self, name):
return '<h1>{}</h1>'.format(name)
I don't know why. Someone help me?
Please provide the log entries.