Override existing Django Template Tags
问题 Is it possible to override an existing Django Template Tag or is it necessary to customize the template file and create a new Template Tag? 回答1: Yes. As django is basically a python library (as with everything in python) you can over-write anything you'd like. It's not clear exactly what you'd like to do but it really is pretty easy to roll-your-own templatetag, the docs are pretty clear: https://docs.djangoproject.com/en/dev/howto/custom-template-tags/#writing-custom-template-tags This is