Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2453 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ

Please provide the log entries.