The documentation mezzanin.jupo.org/docs/configuration.html only mentions 
how to register a new setting, expose it to admin, and access/read via 
models etc. However, there's no mention how to expose the registered 
setting via templates, which to do, has to be done this way:

from mezzanine.conf import register_setting
from django.utils.translation import ugettext_lazy as _

register_setting(
    name="TEMPLATE_ACCESSIBLE_SETTINGS",
    append=True,
    default=("FOOTER_TEXT", "ANOTHER_SETTING", "YET_ANOTHER_SETTING"),
    )

register_setting(
    name="FOOTER_TEXT",
    label=_("Footer About Pesewa"),
    description=_("Footer Info"),
    editable=True,
    default="footer",
    )

register_setting(
    name="ANOTHER_SETTING",
    label=_("Another Setting"),
    description=_("Footer Info"),
    editable=True,
    default="footer",
    )

....


-- 
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