Changeset 7642 for django/branches/gis/django/template/__init__.py
- Timestamp:
- 06/15/08 19:34:17 (7 months ago)
- Files:
-
- django/branches/gis (modified) (1 prop)
- django/branches/gis/django/template/__init__.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/gis
- Property svnmerge-integrated changed from /django/trunk:1-7572 to /django/trunk:1-7641
django/branches/gis/django/template/__init__.py
r7279 r7642 468 468 2 469 469 >>> fe.var 470 'variable'470 <Variable: 'variable'> 471 471 472 472 This class should never be instantiated outside of the … … 599 599 marks):: 600 600 601 >>> c = {'article': {'section': 'News'}}601 >>> c = {'article': {'section':u'News'}} 602 602 >>> Variable('article.section').resolve(c) 603 603 u'News' 604 604 >>> Variable('article').resolve(c) 605 {'section': 'News'}605 {'section': u'News'} 606 606 >>> class AClass: pass 607 607 >>> c = AClass() 608 608 >>> c.article = AClass() 609 >>> c.article.section = 'News'609 >>> c.article.section = u'News' 610 610 >>> Variable('article.section').resolve(c) 611 611 u'News'
