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
|
@ -29,6 +29,9 @@ class Project(models.Model):
|
|||
description = models.TextField(blank=True, default="",
|
||||
verbose_name="Description")
|
||||
|
||||
public = models.BooleanField(default=True,
|
||||
verbose_name="Do unregistered users have read access to this project?")
|
||||
|
||||
def __str__(self):
|
||||
|
||||
return self.display_name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue