Skip to content

Version 0.5.0

Compare
Choose a tag to compare
@tarsil tarsil released this 23 Apr 16:56
· 113 commits to main since this release
894852e

Added

  • settings_module also supports import as string

Example

from lilya.apps import Lilya
from lilya.requests import Request
from lilya.routing import Path


async def home(): ...


app = Lilya(
    routes=[Path("/", handler=home)],
    settings_module="myapp.configs.settings.AppSettings",
)