-
Notifications
You must be signed in to change notification settings - Fork 12
Description
I've recently spun up a blank Wagtail instance and installed this plugin, overall the setup process was really straight forward and it works perfectly. However there were just a few things stumbling blocks that I found, which slowed me down a little bit, but this might just be due to my general lack of Wagtail/Python knowledge.
-
When I tried to make migrations after adding the
StreamFieldPanel('body')to my Homepage model. I got an error about a non-nullable field, I was given the option to populate the field with a value. At first I had no idea what the value should be, but then I tried"String"but this threw an error so then I tried a blank string""and this worked - just wondering if there could be any documentation for this or even a work around to avoid the error all together? -
When adding the Header component along with the site settings configuration. I added
'wagtailnhsukfrontend.settings'to myINSTALLED_APPSbut didn't have‘wagtail.contrib.settings’in there so it didn't work - again just wondering if this needs to be documented? Not sured if I should have had‘wagtail.contrib.settings’by default! -
When adding the Hero component mixin to the Homepage model, it became a mandatory component/field within the admin for the Homepage. I didn't necessarily want to use the component straight away, but wanted to make it available on the Homepage incase I ever needed. I couldn't save the page without populating the Hero fields - could this component/fields be non mandatory?
These are probably small stupid things are the only issues I came across, otherwise I would have managed to setup the Wagtail instance with plugin installed within less than 5 minutes!