mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Added flagging of alt applications
This commit is contained in:
@@ -83,6 +83,10 @@ class Application(models.Model):
|
||||
return self.audit_set.all().order_by('-date')[0]
|
||||
return None
|
||||
|
||||
@property
|
||||
def alt_application(self):
|
||||
return EVEPlayerCharacters.objects.filter(corporation=self.corporation, eveaccount__user=self.user).count() > 0
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
|
||||
user = None
|
||||
|
||||
Reference in New Issue
Block a user