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.