equal
deleted
inserted
replaced
1 """Set of HTML errors views. Error view are generally implemented |
1 """Set of HTML errors views. Error view are generally implemented |
2 as startup views and are used for standard error pages (404, 500, etc.) |
2 as startup views and are used for standard error pages (404, 500, etc.) |
3 |
3 |
4 :organization: Logilab |
4 :organization: Logilab |
5 :copyright: 2001-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
5 :copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
6 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
6 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
7 """ |
7 """ |
8 __docformat__ = "restructuredtext en" |
8 __docformat__ = "restructuredtext en" |
9 |
9 |
10 from cubicweb.common.view import StartupView |
10 from cubicweb.view import StartupView |
11 |
11 |
12 class FourOhFour(StartupView): |
12 class FourOhFour(StartupView): |
13 id = '404' |
13 id = '404' |
14 |
14 |
15 def call(self): |
15 def call(self): |