Revision 67980f56 snf-astakos-app/astakos/im/models.py
b/snf-astakos-app/astakos/im/models.py | ||
---|---|---|
1152 | 1152 |
blank=True, |
1153 | 1153 |
db_index=True) |
1154 | 1154 |
|
1155 |
name = models.CharField(max_length=80, |
|
1156 |
help_text=_("The Project's name should be in a domain format. The domain shouldn't neccessarily exist in the real world but is helpful to imply a structure. e.g.: myproject.mylab.ntua.gr or myservice.myteam.myorganization")) |
|
1157 |
homepage = models.URLField(max_length=255, |
|
1158 |
null=True, |
|
1159 |
blank=True,help_text=_("This should be a URL pointing at your project's site. e.g.: http://myproject.com ",)) |
|
1160 |
description = models.TextField(null=True, |
|
1161 |
blank=True, |
|
1162 |
help_text=_("Please provide a short but descriptive abstract of your Project, so that anyone searching can quickly understand what this Project is about. ")) |
|
1163 |
start_date = models.DateTimeField(help_text=_("Here you specify the date you want your Project to start granting its resources. Its members will get the resources coming from this Project on this exact date.")) |
|
1164 |
end_date = models.DateTimeField(help_text=_("Here you specify the date you want your Project to cease. This means that after this date all members will no longer be able to allocate resources from this Project. ")) |
|
1155 |
name = models.CharField(max_length=80) |
|
1156 |
homepage = models.URLField(max_length=255, null=True) |
|
1157 |
description = models.TextField(null=True, blank=True) |
|
1158 |
start_date = models.DateTimeField() |
|
1159 |
end_date = models.DateTimeField() |
|
1165 | 1160 |
member_join_policy = models.IntegerField() |
1166 | 1161 |
member_leave_policy = models.IntegerField() |
1167 |
limit_on_members_number = models.PositiveIntegerField(null=True, |
|
1168 |
blank=True,help_text=_("Here you specify the number of members this Project is going to have. This means that this number of people will be granted the resources you will specify in the next step. This can be '1' if you are the only one wanting to get resources. ")) |
|
1162 |
limit_on_members_number = models.PositiveIntegerField(null=True) |
|
1169 | 1163 |
resource_grants = models.ManyToManyField( |
1170 | 1164 |
Resource, |
1171 | 1165 |
null=True, |
Also available in: Unified diff