django-pattern-library
django-pattern-library copied to clipboard
UI pattern libraries for Django templates
Issue with nested templates and child templates with overridden tags that include another template
Found a bug? Please fill out the sections below. 👍 ### Issue Summary This issue is present in both 0.7.0 and 1.0.0 versions, but not in 0.6.0 You can repeat...
Whilst in the process of adding a Content Security Policy to a Wagtail site I found that the Pattern Library is not compliant. I raised this issue to request that...
In GitLab by @m1kola on Dec 14, 2017, 11:38 If you have a `some_page.html`&`some_page.yaml` and `include_me.html`&`include_me.html` and `some_page.html` includes `include_me.html`. `some_page.yaml` with something like: ```yaml context: page: pk: 1 title:...
### Is your proposal related to a problem? Cache-related template tag's like Django's `{% cache %}` and Wagtail's `{% wagtailcache %}` and `{% wagtailpagecache %}` work by attempting to render...
## Description note (haven't tested yet will do asap) This commit modifies `utils.py` to use `pathlib.Path` for template paths. This ensures that the paths are handled consistently across different operating...
## Description Adds Jinja support to the django-pattern-library. It is based on @gone's work and will superseed #206. Fixes https://github.com/torchbox/django-pattern-library/issues/171 -> Discussion https://github.com/torchbox/django-pattern-library/discussions/180 ## Checklist - [ ] My code...
### Issue Summary Using `/` in the paths of my `PATTERN_LIBRARY.SECTIONS` results in a `PatternLibraryEmpty` exception ### Steps to Reproduce My library settings are like so: ```py PATTERN_LIBRARY = {...
## Description [Pattern library settings](https://torchbox.github.io/django-pattern-library/getting-started/#pattern-library-settings) notes wrong default settings: ```python "SECTIONS": ( ("components", ["patterns/components"]), ("pages", ["patterns/pages"]), ), ``` ```python "SECTIONS": ( ("atoms", ["patterns/atoms"]), ("molecules", ["patterns/molecules"]), ("organisms", ["patterns/organisms"]), ("templates", ["patterns/templates"]), ("pages",...
## Description Note file extension for documenting patterns, add example name. Fixes # (issue) ## Checklist - [x] My code follows the style guidelines of this project - [x] I...
Add `django-viewcomponent` and `django-lookbook` packages for people who might be interested.