VenvQuerySet

Qualified name: tin.apps.venvs.models.VenvQuerySet

class VenvQuerySet(model=None, query=None, using=None, hints=None)[source]

Bases: QuerySet

Methods

filter_editable

Only admin can edit a venv

filter_visible

Only superusers and teachers can see Venvs

Attributes

filter_editable(user)[source]

Only admin can edit a venv

filter_visible(user)[source]

Only superusers and teachers can see Venvs