Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2435 Zobrazení

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?

Avatar
Zrušit

Please provide the log entries.