cubicweb/web/views/error.py
changeset 11767 432f87a63057
parent 11057 0b59724cb3f2
equal deleted inserted replaced
11766:d8de1ac21f36 11767:432f87a63057
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    18 """Set of HTML errors views. Error view are generally implemented
    18 """Set of HTML errors views. Error view are generally implemented
    19 as startup views and are used for standard error pages (404, 500, etc.)
    19 as startup views and are used for standard error pages (404, 500, etc.)
    20 """
    20 """
    21 
    21 
    22 __docformat__ = "restructuredtext en"
    22 
    23 
    23 
    24 from cubicweb.view import StartupView
    24 from cubicweb.view import StartupView
    25 
    25 
    26 class FourOhFour(StartupView):
    26 class FourOhFour(StartupView):
    27     __regid__ = '404'
    27     __regid__ = '404'