mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-04 07:10:25 +00:00
Update docs for static site generation
the staticsitegen command won't work without these settings- will throw NotImplementedErrors using defaults.
This commit is contained in:
parent
54eb98f8d4
commit
ebf2d767e0
1 changed files with 7 additions and 0 deletions
|
|
@ -27,6 +27,13 @@ Then add ``django_medusa`` and ``wagtail.contrib.wagtailmedusa`` to ``INSTALLED_
|
|||
'wagtail.contrib.wagtailmedusa',
|
||||
]
|
||||
|
||||
Define ``MEDUSA_RENDERER_CLASS`` and ``MEDUSA_DEPLOY_DIR`` in settings:
|
||||
|
||||
.. code:: python
|
||||
|
||||
MEDUSA_RENDERER_CLASS = 'django_medusa.renderers.DiskStaticSiteRenderer'
|
||||
MEDUSA_DEPLOY_DIR = os.path.join(BASE_DIR, 'build')
|
||||
|
||||
|
||||
Rendering
|
||||
~~~~~~~~~
|
||||
|
|
|
|||
Loading…
Reference in a new issue