mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-17 19:59:29 +00:00
Fix a few asumptions not fixed in the last commit
This commit is contained in:
@@ -28,7 +28,7 @@ class EVEAccount(EVEAPIModel):
|
||||
help_text="Type of API key")
|
||||
|
||||
def __unicode__(self):
|
||||
return u"%s" % self.id
|
||||
return u"%s" % self.pk
|
||||
|
||||
def in_corp(self, corpid):
|
||||
return self.character.filter(corporation__id=corpid).count()
|
||||
|
||||
Reference in New Issue
Block a user