oioioi.portals.utils

Module Contents

Functions

join_paths(path1, path2)

parent_path(path)

resolve_path(portal, path)

problems_in_tree(node[, include_self])

Returns a queryset of problems which can be accessed

oioioi.portals.utils.join_paths(path1, path2)[source]
oioioi.portals.utils.parent_path(path)[source]
oioioi.portals.utils.resolve_path(portal, path)[source]
oioioi.portals.utils.problems_in_tree(node, include_self=True)[source]

Returns a queryset of problems which can be accessed from one of the node’s descendants (or, if include_self is True, from the node’s content itself).