erikrose/kitsune — comment on commit 4fa178d3681fc02796cbafdfd2ab965dc66c3a7b
File: apps/search/models.py line 178
By willkg:

This is kind of a side-effect of register_for_indexing. I think it should get added to the docstring--namely "if instance_to_indexee is _identity then we also register this as a search model".

Having said that, I think this is too side-effecty and I'd rather just have a "reigster-as-search-model" argument flag. Does that good enough?