def queryset(self, request, queryset):
if self.value() is not None:<EOL><INDENT>return queryset.filter(information__type__pk=self.value())<EOL><DEDENT>else:<EOL><INDENT>return queryset<EOL><DEDENT>
Returns the filtered queryset based on the value
provided in the query string and retrievable via
`self.value()`.