CentreForDigitalHumanities / CentreForDigitalHumanities/procreg
FAQLists crash and burn without a default FAQList
Open
bug
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
The current implementation of FAQLists is somewhat WIP. We could fix this with a fixture, but better would be to make a more robust implementation.
For example, FAQLists are currently constructed at load-time, for every question instantiated by the blueprint. FAQs aren't needed before rendering the actual question, so we could postpone construction until then at least. This provides an opportunity to fail gracefully.
Then finally a default fixture with a custom error message if it's not loaded as the cherry on top.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.