Automated update of Base Application package.

This commit is contained in:
bot 2025-01-27 13:13:26 +00:00
parent 6e3a31f879
commit 99d5546ba7
3 changed files with 5 additions and 4 deletions

Binary file not shown.

BIN
dist/app-1.0.0.tar.gz vendored

Binary file not shown.

View File

@ -23,16 +23,17 @@ def get_timestamp():
formatted_datetime = now.strftime("%Y-%m-%d %H:%M:%S")
return formatted_datetime
class BaseView(web.View):
@property
@property
def app(self):
return self.request.app
@property
@property
def template_path(self):
return pathlib.Path(self.request.app.template_path)
async def render_template(self, name, context=None):
if not context:
context = {}