kopia lustrzana https://github.com/wagtail/wagtail
snippet docs: loading the tags is necessary
rodzic
ad7596a96d
commit
56cfe02bae
|
@ -81,6 +81,7 @@ Contributors
|
|||
* John Draper
|
||||
* Rich Brennan
|
||||
* Alex Bridge
|
||||
* Tamriel
|
||||
|
||||
|
||||
Translators
|
||||
|
|
|
@ -83,6 +83,10 @@ Then in your own page templates, you can include your snippet template tag with:
|
|||
|
||||
.. code-block:: html+django
|
||||
|
||||
{% load wagtailcore_tags demo_tags %}
|
||||
|
||||
...
|
||||
|
||||
{% block content %}
|
||||
|
||||
...
|
||||
|
|
Ładowanie…
Reference in New Issue