-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Milestone
Description
Summary
Currently the uuids and image filenames for the story carousel on the home page are read from the carousel.json file.
Although it makes sense (I think) to store the placeholder stories in a file (because they should be available for use even if the database is cleared) it would make much more if the uuids for the real stories were stored in the databse.
This has two benefits:
- They could be easily updated using the admin interface.
- If the story is wiped from the databse the uuid could be automatically removed as well.
What needs to be done?
- Create a model to capture story uuids and image filenames. There doesn't have to be any associated form or UI.
- Switch the
get_carousel_stories()helper method to use the database entries rather than reading them from thestoriesentry in carousel.json.
Who can help?
- Anyone will to hack the code.
Metadata
Metadata
Assignees
Labels
No labels