1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- ========
- Settings
- ========
- Accessing Settings
- ==================
- Misago splits its settings into two groups:
- * **Low level settings** - those settings must be available when Misago starts or control resources usage and shouldn't be changed frequently from admin control panel. Those settings live in ``settings.py``
- * **High level settings** - those settings are stored in database and can be changed on runtime using interface provided by admin control panel.
- Both types of settings can accessed as attributes of ``misago.conf.settings`` object and high level settings can be also accessed from your templates as attributes of ``misago_settings`` context value.
- .. note::
- Not all high level settings values are available at all times. Some settings ("lazy settings"), are evaluated to ``True`` or ``None`` immediately upon load. This means while they can be checked to see if they have value or not, but require you to use special ``get_lazy_setting(setting)`` getter to actually obtain their real value.
- Misago Settings Reference
- =========================
- By convention, low level settings are written in UPPER_CASE and high level ones are written in lower_case.
- forum_name
- ----------
- Forum name.
- forum_index_meta_description
- -----------------
- Forum index Meta Description used as value meta description attribute on forum index.
- forum_index_title
- -----------------
- Forum index title. Can be empty string if not set, in which case ``forum_name`` should be used instead.
- MISAGO_MAILER_BATCH_SIZE
- ------------------------
- Default maximum size of single mails package that Misago will build before sending mails and creating next package.
|