swh.web.browse.browseurls module#
- swh.web.browse.browseurls.browse_route(*url_patterns: str, view_name: str | None = None, checksum_args: List[str] | None = None)[source]#
Decorator to ease the registration of a swh-web browse endpoint
- Parameters:
url_patterns – list of url patterns used by Django to identify the browse routes
view_name – the name of the Django view associated to the routes used to reverse the url