mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-01 03:54:48 +00:00
Having a StructBlock rendered via a template was inconsistent with other blocks, It also meant that overriding `render_basic()` in a child class did nothing, again unlike all other blocks. Providing a `render_basic()` is useful for block libraries, where a `render_basic()` provides a very minimal implementation with the expectation that developers will provide their own render method via a template. |
||
|---|---|---|
| .. | ||
| api | ||
| bin | ||
| contrib | ||
| project_template | ||
| tests | ||
| utils | ||
| wagtailadmin | ||
| wagtailcore | ||
| wagtaildocs | ||
| wagtailembeds | ||
| wagtailforms | ||
| wagtailimages | ||
| wagtailredirects | ||
| wagtailsearch | ||
| wagtailsites | ||
| wagtailsnippets | ||
| wagtailusers | ||
| __init__.py | ||