cfedermann / Appraise

Appraise evaluation system for manual evaluation of machine translation output
http://www.appraise.cf/
BSD 3-Clause "New" or "Revised" License
73 stars 37 forks source link

Fix HTTP 404 and 500 error handling #23

Closed cfedermann closed 9 years ago

cfedermann commented 11 years ago

If, for some reason, Django encounters an HTTP 404 or 500 error, page template rendering of either 404.html or 500.html breaks the navigation links on the top of the page.

PREFIX_URL is not handed over as a parameter and hence not prepended to the URLs.

Django documentation on customising error views is available here:

cfedermann commented 11 years ago

This can be implemented as done for the ML4HMT-Workshop project:

cfedermann commented 9 years ago

Rolling out fix as part of WMT15...

cfedermann commented 9 years ago

Need to check if this is still a problem after the latest commit. Works for debug mode, will test for deployed system later tonight.

cfedermann commented 9 years ago

Fixed.