Odoo Help

Welcome!

This community 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.

0

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

By
alessio
on 5/30/16, 6:10 AM 163 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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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