-
Notifications
You must be signed in to change notification settings - Fork 10
/
Django.xml
91 lines (91 loc) · 4.61 KB
/
Django.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<templateSet group="Django">
<template name="trans" value="{% trans '$VAL$' %}" description="Django template trans tag" toReformat="false" toShortenFQNames="true">
<variable name="VAL" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="HTML" value="true" />
</context>
</template>
<template name="url" value="{% url '$VAL$' %}" description="Django template url tag" toReformat="false" toShortenFQNames="true">
<variable name="VAL" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="HTML" value="true" />
</context>
</template>
<template name="include" value="{% include '$VAL$' %}" description="Django template include tag" toReformat="false" toShortenFQNames="true">
<variable name="VAL" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="HTML" value="true" />
</context>
</template>
<template name="comment" value="{% comment %}$VAL${% endcomment %}" description="Django template comment" toReformat="false" toShortenFQNames="true">
<variable name="VAL" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="HTML" value="true" />
</context>
</template>
<template name="csrf" value="{% csrf_token %}" description="Django template CSRF token" toReformat="false" toShortenFQNames="true">
<context>
<option name="HTML" value="true" />
</context>
</template>
<template name="debug" value="{% debug %}" description="Django template debug tag" toReformat="false" toShortenFQNames="true">
<context>
<option name="HTML" value="true" />
</context>
</template>
<template name="extends" value="{% extends '$VAL$' %}" description="Django template extends tag" toReformat="false" toShortenFQNames="true">
<variable name="VAL" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="HTML" value="true" />
</context>
</template>
<template name="tag" value="{% $VAL$ %}" description="Django template tag" toReformat="false" toShortenFQNames="true">
<variable name="VAL" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="HTML" value="true" />
</context>
</template>
<template name="else" value="{% else %}" description="Django template else tag" toReformat="false" toShortenFQNames="true">
<context>
<option name="HTML" value="true" />
</context>
</template>
<template name="static" value="{% static '$VAL$' %}" description="Django template static tag" toReformat="false" toShortenFQNames="true">
<variable name="VAL" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="HTML" value="true" />
</context>
</template>
<template name="for" value="{% for $VAR$ in $VAR2$ %} $SELECTION$$END$ {% endfor %}" description="Django template for loop" toReformat="false" toShortenFQNames="true">
<variable name="VAR" expression="" defaultValue="''" alwaysStopAt="true" />
<variable name="VAR2" expression="" defaultValue="''" alwaysStopAt="true" />
<context>
<option name="HTML" value="true" />
</context>
</template>
<template name="forelse" value="{% for $VAR$ in $VAR2$ %} $SELECTION$$END$ {% empty %} {% endfor %}" description="Django template for-empty loop" toReformat="false" toShortenFQNames="true">
<variable name="VAR" expression="" defaultValue="''" alwaysStopAt="true" />
<variable name="VAR2" expression="" defaultValue="''" alwaysStopAt="true" />
<context>
<option name="HTML" value="true" />
</context>
</template>
<template name="block" value="{% block $BLOCK$ %}$END${% endblock %}" description="Django template block" toReformat="false" toShortenFQNames="true">
<variable name="BLOCK" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="HTML" value="true" />
</context>
</template>
<template name="ifelse" value="{% if $VAR$ %} $SELECTION$$END$ {% else %} $SELECTION$ {% endif %}" description="Django template if/else statement" toReformat="false" toShortenFQNames="true">
<variable name="VAR" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="HTML" value="true" />
</context>
</template>
<template name="if" value="{% if $VAR$ %} $SELECTION$$END$ {% endif %}" description="Django template if statement" toReformat="false" toShortenFQNames="true">
<variable name="VAR" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="HTML" value="true" />
</context>
</template>
</templateSet>