project can be public (default) or private
This commit is contained in:
parent
e870608072
commit
00b8ae612d
5 changed files with 27 additions and 4 deletions
|
@ -8,5 +8,5 @@ class ProjectMiddleware:
|
|||
if view.__module__ != 'issue.views':
|
||||
return
|
||||
|
||||
projects = Project.objects.all()
|
||||
projects = Project.objects.filter(public=True)
|
||||
request.projects = projects
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue