Skip to content

Commit 87fdfaa

Browse files
committed
Rendering -> Usage
1 parent 6f0a94c commit 87fdfaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Aditionally, hot reload is available through a specific config. Check [this sect
134134

135135
> ⚠️ For compiling and serving the frontend assets in production, check [this section](#using-in-production).
136136
137-
## Rendering
137+
## Usage
138138

139139
In order to render the frontend code into the Django templates, we use the `render_bundle` template tag.
140140

@@ -156,7 +156,7 @@ Below is the basic usage for `render_bundle` within a template:
156156

157157
That will render the proper `<script>` and `<link>` tags needed in your template.
158158

159-
## Usage in tests
159+
## Using in tests
160160

161161
To run tests where `render_bundle` shows up, since we don't have `webpack-bundle-tracker` at that point to generate the stats file, the calls to render the bundle will fail. The solution is to use the `FakeWebpackLoader` in your test settings:
162162

0 commit comments

Comments
 (0)