clokep / django-render-block

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

Inheritance more than one level seems to not work #16

Closed deepakkt closed 5 months ago

deepakkt commented 5 years ago

I have three templates

Template A Template B Template C

B inherits from A and C inherits from B.

If there is a block in A which I don't specify in C, but try to render the block passing C, it throws a block not found exception.

But it works if I pass in B instead of C.

jribbens commented 1 year ago

Yes, this has just bitten me.

clokep commented 5 months ago

I think that #56 might fix this, but would be curious for more real world testing!

clokep commented 5 months ago

Duplicate of #12.