Managers

Return to API Reference.

ProjectManager

class projector.managers.ProjectManager
create_project(vcs_alias=None, workflow=None, *args, **kwargs)

Creates new project and call it’s setup function by sending setup_project signal.

for_member(user, requested_by)

Returns queryset of Project instances which given user is member of with exclusion of those projects which requested_by user cannot see (i.e. are private and requested_by is not member of).

for_user(user=None)

Returns queryset of Project instances available for given user. If no user is given or user is inactive/anonymous, only public projects are returned.

Table Of Contents

Previous topic

Forms

Next topic

Models

This Page