diff options
Diffstat (limited to 'pysite')
-rw-r--r-- | pysite/__init__.py | 2 | ||||
-rw-r--r-- | pysite/base_route.py | 2 | ||||
-rw-r--r-- | pysite/route_manager.py | 3 | ||||
-rw-r--r-- | pysite/views/__init__.py | 2 | ||||
-rw-r--r-- | pysite/views/error_handlers/__init__.py | 2 | ||||
-rw-r--r-- | pysite/views/error_handlers/http_404.py | 2 | ||||
-rw-r--r-- | pysite/views/index.py | 2 |
7 files changed, 1 insertions, 14 deletions
diff --git a/pysite/__init__.py b/pysite/__init__.py index ba286add..9bad5790 100644 --- a/pysite/__init__.py +++ b/pysite/__init__.py @@ -1,3 +1 @@ # coding=utf-8 - -__author__ = "Gareth Coles" diff --git a/pysite/base_route.py b/pysite/base_route.py index f983c1a2..916e7fae 100644 --- a/pysite/base_route.py +++ b/pysite/base_route.py @@ -2,8 +2,6 @@ from flask import Flask, render_template from flask.views import MethodView -__author__ = "Gareth Coles" - class BaseView(MethodView): name = None # type: str diff --git a/pysite/route_manager.py b/pysite/route_manager.py index 8133c486..09202d0c 100644 --- a/pysite/route_manager.py +++ b/pysite/route_manager.py @@ -5,12 +5,11 @@ import os from flask import Flask, abort, g +from pysite.base_route import BaseView, ErrorView import rethinkdb from pysite.base_route import BaseView, ErrorView, RouteView -__author__ = "Gareth Coles" - DB_HOST = os.environ.get("RETHINKDB_HOST") DB_PORT = os.environ.get("RETHINKDB_PORT") DB_DATABASE = os.environ.get("RETHINKDB_DATABASE") diff --git a/pysite/views/__init__.py b/pysite/views/__init__.py index ba286add..9bad5790 100644 --- a/pysite/views/__init__.py +++ b/pysite/views/__init__.py @@ -1,3 +1 @@ # coding=utf-8 - -__author__ = "Gareth Coles" diff --git a/pysite/views/error_handlers/__init__.py b/pysite/views/error_handlers/__init__.py index ba286add..9bad5790 100644 --- a/pysite/views/error_handlers/__init__.py +++ b/pysite/views/error_handlers/__init__.py @@ -1,3 +1 @@ # coding=utf-8 - -__author__ = "Gareth Coles" diff --git a/pysite/views/error_handlers/http_404.py b/pysite/views/error_handlers/http_404.py index eea1e630..1d557d9b 100644 --- a/pysite/views/error_handlers/http_404.py +++ b/pysite/views/error_handlers/http_404.py @@ -3,8 +3,6 @@ from werkzeug.exceptions import NotFound from pysite.base_route import ErrorView -__author__ = "Gareth Coles" - class Error404View(ErrorView): name = "error_404" diff --git a/pysite/views/index.py b/pysite/views/index.py index 040332cc..0c2d1578 100644 --- a/pysite/views/index.py +++ b/pysite/views/index.py @@ -1,8 +1,6 @@ # coding=utf-8 from pysite.base_route import RouteView -__author__ = "Gareth Coles" - class IndexView(RouteView): path = "/" |