torchbox / torchbox/django-pattern-library
Provide the ability to specify template loaders in a plugin manner
Open
Nobody has claimed this yet.
django
enhancement
help wanted
- Dominant language
- Python
- Stars
- 423
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
In GitLab by @todd-dembrey on Jan 15, 2018, 12:21
This would allow you to swap out to different render types (jinja2) or to provide standard wagtail tags as part of the core repo.
PATTERN_LIBRARY_TAGS = [
# pattern_library.loader_tags.django,
pattern_library.loader_tags.wagtail,
pattern_library.loader_tags.jinja2,
path_to.custom.loader_tags,
]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the pattern_library.loader_tags modules and the configuration associated with PATTERN_LIBRARY_TAGS. Review how the existing Django and Wagtail loaders are discovered and used, then define how alternative and custom loaders should be selected and verify that the supported loader types work through the pattern library.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- django, python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100