Amélioration visuel véhicule
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user