from typing import *
from wefram.l10n import gettext
from wefram.ui import views


# Place server-side rendering template-based views here.

# @views.register
# class MyView(views.View):
#     template = 'templates/index.html'
#     route = '/'  # the resulting route will be '/<app_name>/<this_route>
#
#     async def get_context_data(self) -> Optional[dict]:
#
#         # do some work here :-) to make context for the view render
#
#         return {
#             'key1': 'value1',
#             'key2': 'value2'
#         }
