Skip to content

Commit

Permalink
Update how_I_added_django_streamfield.md
Browse files Browse the repository at this point in the history
Fix the templates directory because I never proofread anything
  • Loading branch information
williln authored Mar 19, 2024
1 parent 65caecf commit 35a9704
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django/how_I_added_django_streamfield.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ urlpatterns += [
]
```

5. Add some simple templates for the new blocks. The `/templates/streamblocks/`
5. Add some simple templates for the new blocks.

```html
<!-- templates/streamblocks/blocks/richtext.html -->
<!-- templates/streamblocks/richtext.html -->
<div class="rich-text-block">
{{ block_content.text|safe }}
</div>
Expand Down

0 comments on commit 35a9704

Please sign in to comment.