Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
def check_role(user, flag): """ **flag** is a unique string used to restrict access by role in template content. With **flag** is recover an :class:`roles.models.TemplateAccess` object.
:param flag: :attribute:`roles.models.TemplateAccess.flag`. :param user: :return: """ |