def activate_selected(self, request, queryset):
queryset.update(active=True)<EOL>count = queryset.count()<EOL>if count == <NUM_LIT:1>:<EOL><INDENT>message = _('<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>message = _('<STR_LIT>')<EOL>message.format(count=count)  <EOL><DEDENT>self.message_user(request, message)<EOL>
Activate the selected entries.