Changeset 3938
- Timestamp:
- 10/26/06 20:58:13 (2 years ago)
- Files:
-
- django/trunk/AUTHORS (modified) (1 diff)
- django/trunk/django/template/defaulttags.py (modified) (3 diffs)
- django/trunk/docs/templates.txt (modified) (1 diff)
- django/trunk/tests/regressiontests/templates/tests.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/AUTHORS
r3931 r3938 107 107 Stuart Langridge <http://www.kryogenix.org/> 108 108 Eugene Lazutkin <http://lazutkin.com/blog/> 109 Jeong-Min Lee 109 Jeong-Min Lee <falsetru@gmail.com> 110 110 Christopher Lenz <http://www.cmlenz.net/> 111 111 lerouxb@gmail.com django/trunk/django/template/defaulttags.py
r3800 r3938 2 2 3 3 from django.template import Node, NodeList, Template, Context, resolve_variable 4 from django.template import TemplateSyntaxError, VariableDoesNotExist, BLOCK_TAG_START, BLOCK_TAG_END, VARIABLE_TAG_START, VARIABLE_TAG_END, SINGLE_BRACE_START, SINGLE_BRACE_END 4 from django.template import TemplateSyntaxError, VariableDoesNotExist, BLOCK_TAG_START, BLOCK_TAG_END, VARIABLE_TAG_START, VARIABLE_TAG_END, SINGLE_BRACE_START, SINGLE_BRACE_END, COMMENT_TAG_START, COMMENT_TAG_END 5 5 from django.template import get_library, Library, InvalidTemplateLibrary 6 6 from django.conf import settings … … 296 296 'openbrace': SINGLE_BRACE_START, 297 297 'closebrace': SINGLE_BRACE_END, 298 'opencomment': COMMENT_TAG_START, 299 'closecomment': COMMENT_TAG_END, 298 300 } 299 301 … … 832 834 ``openbrace`` ``{`` 833 835 ``closebrace`` ``}`` 836 ``opencomment`` ``{#`` 837 ``closecomment`` ``#}`` 834 838 ================== ======= 835 839 """ django/trunk/docs/templates.txt
r3931 r3938 801 801 ``openbrace`` ``{`` 802 802 ``closebrace`` ``}`` 803 ``opencomment`` ``{#`` 804 ``closecomment`` ``#}`` 803 805 ================== ======= 806 807 Note: ``opencomment`` and ``closecomment`` are new in the Django development version. 804 808 805 809 widthratio django/trunk/tests/regressiontests/templates/tests.py
r3931 r3938 553 553 'templatetag09': ('{% templatetag openbrace %}{% templatetag openbrace %}', {}, '{{'), 554 554 'templatetag10': ('{% templatetag closebrace %}{% templatetag closebrace %}', {}, '}}'), 555 'templatetag11': ('{% templatetag opencomment %}', {}, '{#'), 556 'templatetag12': ('{% templatetag closecomment %}', {}, '#}'), 555 557 556 558 ### WIDTHRATIO TAG ########################################################
