async def create_app():
    asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
    app = web.Application(middlewares=middlewares)
    aiohttp_jinja2.setup(app, loader=jinja2.FileSystemLoader(settings.TEMPLATES_PATH))
    app.add_routes(routes)
    return app
async def create_app():
    asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
    app = web.Application(middlewares=middlewares)
    aiohttp_jinja2.setup(app, loader=jinja2.FileSystemLoader(settings.TEMPLATES_PATH))
    app.add_routes(routes)
    return app