Skip to content

Commit

Permalink
Clean up admin display for fleets (minmatarfleet#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
bearthatcares authored Apr 29, 2024
1 parent 3cc4cbb commit e33342a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions backend/fleets/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ class EveFleet(models.Model):
)
location = models.CharField(max_length=255, blank=True)

def __str__(self):
return f"{self.created_by} - {self.type} - {self.start_time}"


class EveFleetInstance(models.Model):
"""
Expand Down Expand Up @@ -83,6 +86,9 @@ class EveFleetNotificationChannel(models.Model):
discord_channel_name = models.CharField(max_length=255)
group = models.ForeignKey(Group, on_delete=models.CASCADE)

def __str__(self):
return f"{self.group} - {self.discord_channel_name}"


class EveFleetNotification(models.Model):
"""
Expand Down

0 comments on commit e33342a

Please sign in to comment.