mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-17 19:59:29 +00:00
Added some further helptext
This commit is contained in:
@@ -11,10 +11,10 @@ class GroupInformation(models.Model):
|
|||||||
|
|
||||||
type = models.IntegerField("Group Type", choices=GROUP_TYPE_CHOICES, default=GROUP_TYPE_PERMISSION)
|
type = models.IntegerField("Group Type", choices=GROUP_TYPE_CHOICES, default=GROUP_TYPE_PERMISSION)
|
||||||
admins = models.ManyToManyField(User)
|
admins = models.ManyToManyField(User)
|
||||||
public = models.BooleanField("Public", default=False)
|
public = models.BooleanField("Public", default=False, help_text="Indicates if the group is visible to all")
|
||||||
requestable = models.BooleanField("Requestable", default=False)
|
requestable = models.BooleanField("Requestable", default=False, help_text="Indicates if people can request to join this group")
|
||||||
|
|
||||||
description = models.TextField()
|
description = models.TextField(help_text="Description of the group and its permissions")
|
||||||
|
|
||||||
def save(self):
|
def save(self):
|
||||||
if self.group and (self.group.eveplayercorporation_set.count() or self.group.eveplayeralliance_set.count()):
|
if self.group and (self.group.eveplayercorporation_set.count() or self.group.eveplayeralliance_set.count()):
|
||||||
|
|||||||
Reference in New Issue
Block a user