Make Default value for Groups column translatable.
Here we are passing a default string 'False' to empty_value, which is not translatable as we haven't used the function ugettext(). So to make it translatable we are using this function. Closes-Bug: #1399308 Change-Id: Ie568118ad702fbbe80b4ae26fbc863524037342c
This commit is contained in:
parent
673bfed6c8
commit
86b1da4203
@ -195,7 +195,7 @@ class UsersTable(tables.DataTable):
|
||||
enabled = tables.Column('enabled', verbose_name=_('Enabled'),
|
||||
status=True,
|
||||
status_choices=STATUS_CHOICES,
|
||||
empty_value="False")
|
||||
empty_value=_('False'))
|
||||
|
||||
|
||||
class GroupMembersTable(UsersTable):
|
||||
|
Loading…
Reference in New Issue
Block a user