diff --git a/tailbone/views/common.py b/tailbone/views/common.py index 23f366db..ae848910 100644 --- a/tailbone/views/common.py +++ b/tailbone/views/common.py @@ -56,9 +56,6 @@ class CommonView(View): project_title = "Tailbone" project_version = tailbone.__version__ - def notfound(self): - return httpexceptions.HTTPNotFound() - def home(self, mobile=False): """ Home page view. diff --git a/tailbone/views/core.py b/tailbone/views/core.py index 0b793702..40ff7de4 100644 --- a/tailbone/views/core.py +++ b/tailbone/views/core.py @@ -52,6 +52,9 @@ class View(object): """ return getattr(self.request, 'rattail_config', None) + def notfound(self): + return httpexceptions.HTTPNotFound() + def late_login_user(self): """ Returns the :class:`rattail:rattail.db.model.User` instance