mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-19 12:49:22 +00:00
Import Skill information from the API, also provide new Auth API to access this information
This commit is contained in:
@@ -51,7 +51,11 @@ class EVEPlayerCharacterSkill(models.Model):
|
||||
"""
|
||||
character = models.ForeignKey('eve_api.EVEPlayerCharacter')
|
||||
skill = models.ForeignKey('eve_api.EVESkill')
|
||||
level = models.IntegerField()
|
||||
level = models.IntegerField(default=0)
|
||||
skillpoints = models.IntegerField(default=0)
|
||||
|
||||
def __unicode__(self):
|
||||
return u"%s - Level %s" % (self.skill, self.level)
|
||||
|
||||
class Meta:
|
||||
app_label = 'eve_api'
|
||||
|
||||
Reference in New Issue
Block a user