mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
char.eveaccount_set.all().count() isn't working reliably, thus using char.active_key
This commit is contained in:
@@ -242,7 +242,7 @@ class EVEAPICorporationMembersCSV(LoginRequiredMixin, SingleObjectMixin, CSVResp
|
||||
def get_csv_data(self):
|
||||
data = []
|
||||
for char in self.object.eveplayercharacter_set.all():
|
||||
data.append([char.name, char.total_sp, char.corporation_date, char.last_login, char.director, char.roles.count(), char.eveaccount_set.all().count()])
|
||||
data.append([char.name, char.total_sp, char.corporation_date, char.last_login, char.director, char.roles.count(), char.active_key])
|
||||
return data
|
||||
|
||||
def get_filename(self):
|
||||
|
||||
Reference in New Issue
Block a user