costa-vite-myna/handler.py
Dita Aji Pratama d4ca69fb2b First Commit
2022-03-16 11:06:52 +07:00

20 lines
459 B
Python
Executable File

import cherrypy
import json
import core.authentication as authentication
import config.globalvar as globalvar
import config.template as pages
import modules.user.home as user_home
class handler(pages.main):
def __init__(self):
pages.main.__init__(self)
def index(self, **kwargs):
kwargs["params_page"] = pages.main().user("home")
return user_home.main().html(kwargs)
index.exposed = True