betty.url module¶
Provide a URL generation API.
- final class betty.url.LocalizedPathUrlGenerator[source]¶
Bases:
LocalizedUrlGenerator
Generate URLs for localizable file paths.
- class betty.url.LocalizedUrlGenerator[source]¶
Bases:
_UrlGenerator
Generate URLs for localizable resources.
- final class betty.url.ProjectUrlGenerator[source]¶
Bases:
LocalizedUrlGenerator
Generate URLs for all resources provided by a Betty project.
- final class betty.url.StaticPathUrlGenerator[source]¶
Bases:
StaticUrlGenerator
Generate URLs for static (non-localized) file paths.
- __init__(configuration: ProjectConfiguration)[source]¶