supercontest.views.matchups
The blueprint for the matchups views.
Module Attributes
The blueprint for the matchups views. |
|
Which URL path params are required for this view. |
Functions
The route to show all matchups for a given week, and the current user's picks. |
|
Wrapper for common defaults call. |
|
Wrapper for common preprocessors call. |
- supercontest.views.matchups.matchups() str
The route to show all matchups for a given week, and the current user’s picks.
- Returns:
The rendered template for the view.
- supercontest.views.matchups.matchups_blueprint = <Blueprint 'matchups'>
The blueprint for the matchups views.
- supercontest.views.matchups.matchups_url_defaults(endpoint: str, values: dict[str, Any])
Wrapper for common defaults call. The
valuesdict is mutated.- Parameters:
endpoint – The flask endpoint.
values – The flask values.
- supercontest.views.matchups.matchups_url_value_preprocessor(endpoint: str | None, values: dict[str, Any] | None)
Wrapper for common preprocessors call. Values are extracted then added to
g.- Parameters:
endpoint – The flask endpoint.
values – The flask values.
- supercontest.views.matchups.matchups_values = {'league': False, 'week': True}
Which URL path params are required for this view.