depot / bus type not required in admin
This commit is contained in:
parent
aa5e32d5ab
commit
2de652891a
|
@ -321,9 +321,9 @@ class RouteSchedule(models.Model):
|
|||
busesAM = models.IntegerField(blank=True, null=True)
|
||||
busesN = models.IntegerField(blank=True, null=True)
|
||||
busesPM = models.IntegerField(blank=True, null=True)
|
||||
bus_type = models.CharField(max_length=3, default="SD")
|
||||
bus_type = models.CharField(max_length=3, default="SD", blank=True)
|
||||
depot_txt = models.CharField(max_length=16, blank=True)
|
||||
depot = models.ForeignKey("Depot", null=True)
|
||||
depot = models.ForeignKey("Depot", null=True, blank=True)
|
||||
first_from = models.TimeField(blank=True, null=True)
|
||||
last_from = models.TimeField(blank=True, null=True)
|
||||
first_to = models.TimeField(blank=True, null=True)
|
||||
|
|
Loading…
Reference in New Issue
Block a user