Minor admin improvements

This commit is contained in:
2022-04-02 11:05:34 +02:00
parent 89aa6ea2b9
commit 44b93bd5e8
3 changed files with 23 additions and 1 deletions

View File

@@ -23,7 +23,7 @@ class RollingStock(models.Model):
Tag,
related_name='rolling_stock',
blank=True)
address = models.SmallIntegerField(default=3, null=True, blank=True)
address = models.SmallIntegerField(default=None, null=True, blank=True)
manufacturer = models.ForeignKey(
Manufacturer, on_delete=models.CASCADE,
null=True, blank=True)