Odoo Help

0

internal error ser when i add the code for URL and routing

By
alessio
on 5/30/16, 6:10 AM 255 views

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.

Ermin Trevisan
on 5/30/16, 8:09 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 5/30/16, 6:10 AM
Seen: 255 times
Last updated: 5/30/16, 6:19 AM