mirror of
https://github.com/django-components/django-components.git
synced 2025-08-30 18:57:20 +00:00
refactor: remove middleware, add strategy "raw", and call render_deps() from within Template.render() (#1166)
* refactor: remove middleware, add strategy "raw", and call render_deps() from within Template.render() * refactor: fix formatting * refactor: fix benchmark tests * refactor: avoid processing deps if rendered HTML contains no components * refactor: remove comments * refactor: rename "raw" to "ignore"
This commit is contained in:
parent
1049c08324
commit
6253042e9e
37 changed files with 771 additions and 657 deletions
|
@ -872,7 +872,7 @@ class TestComponentRender:
|
|||
{% endblock %}
|
||||
"""
|
||||
|
||||
rendered = SimpleComponent.render(render_dependencies=False)
|
||||
rendered = SimpleComponent.render(deps_strategy="ignore")
|
||||
assertHTMLEqual(
|
||||
rendered,
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue