Amélioration visuel véhicule

This commit is contained in:
Ambulance Clerc
2022-11-10 11:28:03 +01:00
parent 054a5c740f
commit 0bc28c3329
2 changed files with 10 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ STATUS_CHOICES = [
TYPES_CHOICES = [
('1', 'Technique'),
('2', 'Matériel'),
('3', 'Opérationnel'),
('3', 'Péremption'),
]
@@ -26,6 +26,13 @@ class Vehicles(models.Model):
nBases = models.CharField('Basé à ', max_length=1, choices=BASES_CHOICES, default=1)
nStatus = models.CharField('Statut', max_length=1, choices=STATUS_CHOICES, default=1)
a_infos = []
def get_all_infos(self):
infos = Vehicles_infos()
def __str__(self):
return self.sName