kopia lustrzana https://github.com/wagtail/wagtail
Fix typo in settings docs
rodzic
3d494fb24b
commit
c9f73d3157
|
@ -109,7 +109,7 @@ Then access the settings through ``{{ settings }}``:
|
|||
|
||||
{{ settings.app_label.SocialMediaSettings.instagram }}
|
||||
|
||||
If you are not in a ``RequestContext``, then context processors will not have run, and the ``settings`` variable will not be availble. To get the ``settings``, use the provided ``{% get_settings %}`` template tag. If a ``request`` is in the template context, but for some reason it is not a ``RequestContext``, just use ``{{ get_settings }}``:
|
||||
If you are not in a ``RequestContext``, then context processors will not have run, and the ``settings`` variable will not be availble. To get the ``settings``, use the provided ``{% get_settings %}`` template tag. If a ``request`` is in the template context, but for some reason it is not a ``RequestContext``, just use ``{% get_settings %}``:
|
||||
|
||||
.. code-block:: html+django
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue