fix some db docs
[factor/jcg.git] / basis / xmode / modes / django.xml
blobe9162d504067b2364b05fd4702c6ecf6c1d90884
1 <?xml version="1.0"?>\r
2 \r
3 <MODE>\r
4         <PROPS>\r
5                 <PROPERTY NAME="commentStart" VALUE="{% comment %}" />\r
6                 <PROPERTY NAME="commentEnd" VALUE="{% endcomment %}" />\r
7         </PROPS>\r
8         <RULES IGNORE_CASE="TRUE">\r
9                 <IMPORT DELEGATE="html::MAIN"/>\r
11                 <SPAN TYPE="COMMENT3">\r
12                         <BEGIN>{% comment %}</BEGIN>\r
13                         <END>{% endcomment %}</END>\r
14                 </SPAN>\r
15                 <SPAN TYPE="KEYWORD3" DELEGATE="DJANGO_BLOCK">\r
16                         <BEGIN>{%</BEGIN>\r
17                         <END>%}</END>\r
18                 </SPAN>\r
19                 <!-- variable -->\r
20                 <SPAN TYPE="KEYWORD3" DELEGATE="DJANGO_VARIABLE">\r
21                         <BEGIN>{{</BEGIN>\r
22                         <END>}}</END>\r
23                 </SPAN>\r
24         </RULES>\r
26         <RULES SET="DJANGO_VARIABLE" DEFAULT="LITERAL4">\r
27                 <IMPORT DELEGATE="DJANGO_CORE"/>\r
28         </RULES>\r
30         <RULES SET="DJANGO_BLOCK" DEFAULT="LITERAL4">\r
31                 <IMPORT DELEGATE="DJANGO_CORE"/>\r
32                 <KEYWORDS>\r
33                         <KEYWORD1>as</KEYWORD1>\r
34                         <KEYWORD1>block</KEYWORD1>\r
35                         <KEYWORD1>blocktrans</KEYWORD1>\r
36                         <KEYWORD1>by</KEYWORD1>\r
37                         <KEYWORD1>endblock</KEYWORD1>\r
38                         <KEYWORD1>endblocktrans</KEYWORD1>\r
39                         <KEYWORD1>comment</KEYWORD1>\r
40                         <KEYWORD1>endcomment</KEYWORD1>\r
41                         <KEYWORD1>cycle</KEYWORD1>\r
42                         <KEYWORD1>date</KEYWORD1>\r
43                         <KEYWORD1>debug</KEYWORD1>\r
44                         <KEYWORD1>else</KEYWORD1>\r
45                         <KEYWORD1>extends</KEYWORD1>\r
46                         <KEYWORD1>filter</KEYWORD1>\r
47                         <KEYWORD1>endfilter</KEYWORD1>\r
48                         <KEYWORD1>firstof</KEYWORD1>\r
49                         <KEYWORD1>for</KEYWORD1>\r
50                         <KEYWORD1>endfor</KEYWORD1>\r
51                         <KEYWORD1>if</KEYWORD1>\r
52                         <KEYWORD1>endif</KEYWORD1>\r
53                         <KEYWORD1>ifchanged</KEYWORD1>\r
54                         <KEYWORD1>endifchanged</KEYWORD1>\r
55                         <KEYWORD1>ifnotequal</KEYWORD1>\r
56                         <KEYWORD1>endifnotequal</KEYWORD1>\r
57                         <KEYWORD1>in</KEYWORD1>\r
58                         <KEYWORD1>load</KEYWORD1>\r
59                         <KEYWORD1>not</KEYWORD1>\r
60                         <KEYWORD1>now</KEYWORD1>\r
61                         <KEYWORD1>or</KEYWORD1>\r
62                         <KEYWORD1>parsed</KEYWORD1>\r
63                         <KEYWORD1>regroup</KEYWORD1>\r
64                         <KEYWORD1>ssi</KEYWORD1>\r
65                         <KEYWORD1>trans</KEYWORD1>\r
66                         <KEYWORD1>with</KEYWORD1>\r
67                         <KEYWORD1>widthratio</KEYWORD1>\r
68                 </KEYWORDS>\r
69         </RULES>\r
71         <RULES SET="DJANGO_CORE">\r
72                 <SPAN TYPE="LITERAL2">\r
73                         <BEGIN>"</BEGIN>\r
74                         <END>"</END>\r
75                 </SPAN>\r
76                 <SEQ TYPE="OPERATOR">:</SEQ>\r
77                 <SEQ TYPE="OPERATOR">,</SEQ>\r
78                 <SEQ TYPE="OPERATOR">|</SEQ>\r
79                 <KEYWORDS>\r
80                         <LITERAL3>openblock</LITERAL3>\r
81                         <LITERAL3>closeblock</LITERAL3>\r
82                         <LITERAL3>openvariable</LITERAL3>\r
83                         <LITERAL3>closevariable</LITERAL3>\r
85                         <FUNCTION>add</FUNCTION>\r
86                         <FUNCTION>addslashes</FUNCTION>\r
87                         <FUNCTION>capfirst</FUNCTION>\r
88                         <FUNCTION>center</FUNCTION>\r
89                         <FUNCTION>cut</FUNCTION>\r
90                         <FUNCTION>date</FUNCTION>\r
91                         <FUNCTION>default</FUNCTION>\r
92                         <FUNCTION>dictsort</FUNCTION>\r
93                         <FUNCTION>dictsortreversed</FUNCTION>\r
94                         <FUNCTION>divisibleby</FUNCTION>\r
95                         <FUNCTION>escape</FUNCTION>\r
96                         <FUNCTION>filesizeformat</FUNCTION>\r
97                         <FUNCTION>first</FUNCTION>\r
98                         <FUNCTION>fix_ampersands</FUNCTION>\r
99                         <FUNCTION>floatformat</FUNCTION>\r
100                         <FUNCTION>get_digit</FUNCTION>\r
101                         <FUNCTION>join</FUNCTION>\r
102                         <FUNCTION>length</FUNCTION>\r
103                         <FUNCTION>length_is</FUNCTION>\r
104                         <FUNCTION>linebreaks</FUNCTION>\r
105                         <FUNCTION>linebreaksbr</FUNCTION>\r
106                         <FUNCTION>linenumbers</FUNCTION>\r
107                         <FUNCTION>ljust</FUNCTION>\r
108                         <FUNCTION>lower</FUNCTION>\r
109                         <FUNCTION>make_list</FUNCTION>\r
110                         <FUNCTION>phone2numeric</FUNCTION>\r
111                         <FUNCTION>pluralize</FUNCTION>\r
112                         <FUNCTION>pprint</FUNCTION>\r
113                         <FUNCTION>random</FUNCTION>\r
114                         <FUNCTION>removetags</FUNCTION>\r
115                         <FUNCTION>rjust</FUNCTION>\r
116                         <FUNCTION>slice</FUNCTION>\r
117                         <FUNCTION>slugify</FUNCTION>\r
118                         <FUNCTION>stringformat</FUNCTION>\r
119                         <FUNCTION>striptags</FUNCTION>\r
120                         <FUNCTION>time</FUNCTION>\r
121                         <FUNCTION>timesince</FUNCTION>\r
122                         <FUNCTION>title</FUNCTION>\r
123                         <FUNCTION>truncatewords</FUNCTION>\r
124                         <FUNCTION>unordered_list</FUNCTION>\r
125                         <FUNCTION>upper</FUNCTION>\r
126                         <FUNCTION>urlencode</FUNCTION>\r
127                         <FUNCTION>urlize</FUNCTION>\r
128                         <FUNCTION>urlizetrunc</FUNCTION>\r
129                         <FUNCTION>wordcount</FUNCTION>\r
130                         <FUNCTION>wordwrap</FUNCTION>\r
131                         <FUNCTION>yesno</FUNCTION>\r
133                 </KEYWORDS>\r
134         </RULES>\r
136 </MODE>\r