scipost.decorators module

scipost.decorators.has_contributor(user)[source]

Require user to be related to any Contributor.

scipost.decorators.is_contributor_user()[source]

Decorator checking if user is related to any Contributor.