null=True for trans fields to facilitate data import on server
This commit is contained in:
parent
ad3d877fc0
commit
c759bb774c
|
@ -21,12 +21,12 @@ class Ship(models.Model):
|
|||
number = models.IntegerField(max_length=20)
|
||||
date = models.DateField()
|
||||
ship_name = models.CharField(max_length=255)
|
||||
ship_name_trans = models.CharField(max_length=255, blank=True)
|
||||
ship_name_trans = models.CharField(max_length=255, blank=True, null=True)
|
||||
captain = models.CharField(max_length=255)
|
||||
captain_trans = models.CharField(max_length=255, blank=True)
|
||||
captain_trans = models.CharField(max_length=255, blank=True, null=True)
|
||||
flag = models.CharField(max_length=255)
|
||||
owner = models.CharField(max_length=255)
|
||||
owner_trans = models.CharField(max_length=255, blank=True)
|
||||
owner_trans = models.CharField(max_length=255, blank=True, null=True)
|
||||
port = models.CharField(max_length=255)
|
||||
country = models.CharField(max_length=255)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user