mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-18 20:21: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
|
||
|---|---|---|
| .. | ||
| admin_templates.rst | ||
| custom_user_models.rst | ||
| index.rst | ||
| page_editing_interface.rst | ||