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:
utsav dusad 2015-02-18 19:32:52 +05:30
parent 673bfed6c8
commit 86b1da4203
1 changed files with 1 additions and 1 deletions

View File

@ -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):