What is the tag loading area in Django templates?

What is the scope of user tags loaded with load in the django template system, especially wrt Template Inheritance?

How can you effectively load the same custom tag in the template hierarchy tree. I could not find any information in the documents. Any pointers would be helpful.

Thank.

+3
source share
1 answer

I also wondered about this and found the missing documentation, so I decided to conduct the testing myself.

django 1.4, : , ( {% load %}), .

:

  • A extend B:
    • A B
    • A B
    • B, super
  • A include B:
    • A B
    • A B with context
  • A, B, `{% ssi... parsed%}
    • A B

, ( , - , , , ( "))

+5

All Articles