add templating
This commit is contained in:
parent
cad6175db0
commit
437e28c3a9
@ -1,9 +1,9 @@
|
||||
from . import Controller
|
||||
from .template import WebpageController
|
||||
|
||||
|
||||
class SessionController(Controller):
|
||||
class SessionController(WebpageController):
|
||||
def loginAction(self):
|
||||
self.send_response("login happening here")
|
||||
self.serve_template("login.html", **self.template_variables())
|
||||
|
||||
def logoutAction(self):
|
||||
self.send_redirect("logout happening here")
|
||||
|
Loading…
Reference in New Issue
Block a user