WIP: authentication handling for ATST

This commit is contained in:
dandds
2018-06-11 15:54:16 -04:00
parent cb51a20f72
commit 25db6fabbe
8 changed files with 89 additions and 8 deletions

View File

@@ -1,9 +1,11 @@
from atst.handler import BaseHandler
import atst
from atst.handler import BaseHandler, authenticated
class MainHandler(BaseHandler):
def initialize(self, page):
self.page = page
@authenticated
def get(self):
self.render( '%s.html.to' % self.page, page = self.page )