Revision 76c68fd6 snf-astakos-app/astakos/im/models.py
b/snf-astakos-app/astakos/im/models.py | ||
---|---|---|
109 | 109 |
class AstakosGroup(Group): |
110 | 110 |
kind = models.ForeignKey(GroupKind) |
111 | 111 |
desc = models.TextField('Description', null=True) |
112 |
identifier = models.URLField('URI identifier', unique=True, default='', db_index=True) |
|
113 | 112 |
policy = models.ManyToManyField(Resource, null=True, blank=True, through='AstakosGroupQuota') |
114 | 113 |
creation_date = models.DateTimeField('Creation date', default=datetime.now()) |
115 | 114 |
issue_date = models.DateTimeField('Issue date', null=True) |
116 | 115 |
expiration_date = models.DateTimeField('Expiration date', null=True) |
117 | 116 |
moderatation_enabled = models.BooleanField('Moderated membership?', default=False) |
118 | 117 |
approval_date = models.DateTimeField('Activation date', null=True, blank=True) |
119 |
estimated_participants = models.PositiveIntegerField('Estimated number of participants', null=True)
|
|
118 |
estimated_participants = models.PositiveIntegerField('Estimated #participants', null=True)
|
|
120 | 119 |
|
121 | 120 |
@property |
122 | 121 |
def is_disabled(self): |
Also available in: Unified diff