MoritzS / jinja2-django-tags

jinja2 extensions that add django tags
MIT License
41 stars 10 forks source link

Add load tag as no-op #9

Open wolph opened 6 years ago

wolph commented 6 years ago

First of all, this project is awesome! I don't understand why it doesn't have more traction. It's certainly more convenient than https://github.com/niwinz/django-jinja

Anyhow, for more Django tag compatibility it would help a lot to have a load tag that does absolutely nothing, The code itself can easily be borrowed from coffin: https://github.com/cdleary/coffin/blob/05ab3fc79fe0c1b2aa4103f67520e109d660b999/coffin/template/defaulttags.py#L9-L24

MoritzS commented 6 years ago

Feel free to submit a patch!