跳至內容
選單
此問題已被標幟
2455 瀏覽次數

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.