IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

Create and use custom template tags

Last modified: 11 February 2024

With Django you can set up a new tag to introduce a functionality that is not covered by the built-in template tags. IntelliJ IDEA provides you with corresponding code and navigation assistance.

IntelliJ IDEA also recognizes custom template tags that are recorded as builtins tags in the TEMPLATES section of the settings.py file.

Navigating to the tag implementation

Once you record a custom tag in the settings file, you can navigate to the file with its declaration. Place the caret at the template tag filename and press Ctrl0B.