clokep / django-render-block

Render the content of a specific block tag from a Django template.
ISC License
241 stars 23 forks source link

Add render_block function #60

Open gogognome opened 2 months ago

gogognome commented 2 months ago

This pull request adds the render_block() function that returns an HttpResponse with the block. It also allows to verify the context that was passed to render_block() in unit tests.

Closes #59

gogognome commented 2 months ago

This is my first pull request ever, so I might need some help with Github. It seems I created a new issue, but this pull request is intended to fix #59.

gogognome commented 2 months ago

I figured out how to run the build steps locally on my computer, so I could fix the linter errors. My branch now locally passes the CI steps.