duck.cli.commands.collectstaticยถ
Module containing collectstatic command class.
Module Contentsยถ
Classesยถ
APIยถ
- class duck.cli.commands.collectstatic.CollectStaticCommand[source]ยถ
-
- classmethod find_blueprint_static_dirs() Generator[Tuple[str, duck.routes.Blueprint], None, None][source]ยถ
Finds and returns static directories from all blueprint base directories.
- Returns:
The generator of static directory and blueprint pair.
- Return type:
Generator
- classmethod get_blueprint_staticfiles(blueprint_static_dirs: Tuple[str, duck.routes.Blueprint])[source]ยถ
Returns the generator to the found staticfiles.
- Parameters:
blueprint_static_dirs โ The collection of the static directory and the respective blueprint.