Add consist app

This commit is contained in:
2022-04-02 12:43:40 +02:00
parent 44b93bd5e8
commit 915bc13575
17 changed files with 266 additions and 3 deletions

View File

@@ -37,9 +37,7 @@ class RollingStock(models.Model):
epoch = models.CharField(max_length=32, blank=True)
production_year = models.SmallIntegerField(null=True, blank=True)
purchase_date = models.DateField(null=True, blank=True)
notes = models.TextField(blank=True)
creation_time = models.DateTimeField(auto_now_add=True)
updated_time = models.DateTimeField(auto_now=True)