~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/base/xhtml.py

Merge enforce-naming-constraints. Users, subjects, semesters, projects, groups exercises and worksheets now have restricted name character sets.

Show diffs side-by-side

added added

removed removed

Lines of Context:
245
245
    def populate(self, req, ctx):
246
246
        ctx['req'] = req
247
247
        ctx['exception'] = self.context
 
248
        req.headers_out['X-IVLE-Error'] = self.context.message
248
249
 
249
250
class XHTMLUnauthorizedView(XHTMLErrorView):
250
251
    template = 'xhtmlunauthorized.html'