| Conditions | 3 |
| Total Lines | 7 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | from dogpile.cache import make_region |
||
| 7 | def includeme(config): # pragma: no cover |
||
| 8 | """Configure caching regions from settings.""" |
||
| 9 | settings = config.registry.settings |
||
| 10 | if not tree_region.is_configured: |
||
| 11 | tree_region.configure_from_config(settings, 'cache.tree.') |
||
| 12 | if not list_region.is_configured: |
||
| 13 | list_region.configure_from_config(settings, 'cache.list.') |
||
| 14 | |||
| 23 |