mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-18 12:11:11 +00:00
The 'Customising generated forms' example contains a few issues that might confuse those who are copy/pasting the code.
1. No reference to the `geocode` library and where it comes from, added imports and revised API usage
2. `location = models.CharField()` requires the `max_length` attribute set
3. `FieldPanel('title')` added to content panels, otherwise testing this out causes error because no title or slug exists
These issues were flagged in #3737
|
||
|---|---|---|
| .. | ||
| api | ||
| customisation | ||
| documents | ||
| i18n | ||
| images | ||
| deploying.rst | ||
| embeds.rst | ||
| index.rst | ||
| jinja2.rst | ||
| performance.rst | ||
| privacy.rst | ||
| settings.rst | ||
| testing.rst | ||
| third_party_tutorials.rst | ||