In my app's `defaults.py`, I have this code:

register_setting(
    name="SEARCH_MODEL_CHOICES",
    description=_("Sequence of models that will be provided by default as "
        "choices in the search form. Each model should be in the format "
        "``app_label.model_name``. Only models that subclass "
        "``mezzanine.core.models.Displayable`` should be used."),
    editable=False,
    default=("theme.ProjectPage", ),
)



My goal here is to add `"theme.ProjectPage"` to the models the search 
engine queries. But in effect, this replaces Mezzanine's built-in 
SEARCH_MODEL_CHOICES. How do I change this code so that 
`"theme.ProjectPage"` gets added to SEARCH_MODEL_CHOICES without replacing 
its defaults: `"pages.Page", "blog.BlogPost"`?

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to