[FIX] Pending Count for superuser for groups without group lead assigned

This commit is contained in:
Peter Pfeufer
2021-10-20 05:00:09 +00:00
committed by Ariel Rin
parent 1fd708e765
commit 803b659fce
8 changed files with 43 additions and 17 deletions

View File

@@ -7,7 +7,6 @@ from allianceauth.authentication.models import State
class GroupRequest(models.Model):
status = models.CharField(max_length=254)
leave_request = models.BooleanField(default=0)
user = models.ForeignKey(User, on_delete=models.CASCADE)
group = models.ForeignKey(Group, on_delete=models.CASCADE)