You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/api.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -117,6 +117,18 @@ PATTERN_LIBRARY = {
117
117
}
118
118
```
119
119
120
+
## `monkey_utils`
121
+
122
+
### `override_tag`
123
+
124
+
This function tells the pattern library which Django tags to override, and optionally supports providing a default value. See [../guides/overriding-template-tags.md] for more information.
125
+
126
+
```python
127
+
from pattern_library.monkey_utils import override_tag
By default patterns will be saved in a `dpl-rendered-patterns` folder. Make sure to add this to your `.gitignore` and other ignore files, or customize the output directory with `--output`.
0 commit comments