Commit b46f88b1 authored by Michal Čihař's avatar Michal Čihař

Allow blank value for field with default blank

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 9f09814f
......@@ -132,7 +132,7 @@ class Translation(models.Model, URLMixin, PercentMixin, LoggerMixin):
enabled = models.BooleanField(default=True, db_index=True)
language_code = models.CharField(max_length=20, default='')
language_code = models.CharField(max_length=20, default='', blank=True)
lock_user = models.ForeignKey(User, null=True, blank=True, default=None)
lock_time = models.DateTimeField(default=timezone.now)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment