final cleanup of initial model code
This commit is contained in:
@@ -41,6 +41,7 @@ class Station(models.Model):
|
||||
"owner": 1000169,
|
||||
"race_id": 8
|
||||
}
|
||||
|
||||
id = models.IntegerField(primary_key=True)
|
||||
name = models.CharField(max_length=100, blank=True, null=True)
|
||||
|
||||
@@ -52,7 +53,6 @@ class Station(models.Model):
|
||||
|
||||
|
||||
class Alliance(models.Model):
|
||||
# https://esi.tech.ccp.is/latest/alliances/{alliance_id}/?datasource=tranquility
|
||||
alliance = {
|
||||
"name": "Goonswarm Federation",
|
||||
"creator_id": 240070320,
|
||||
@@ -165,6 +165,7 @@ class Character(models.Model):
|
||||
"ancestry_id": 18,
|
||||
"security_status": 5.0093381834
|
||||
}
|
||||
|
||||
id = models.IntegerField(primary_key=True)
|
||||
corp = models.ForeignKey(Corporation, on_delete=models.SET_NULL, null=True)
|
||||
name = models.CharField(max_length=50, null=True)
|
||||
|
||||
Reference in New Issue
Block a user