#12104: Object->object lookup fails in blocktrans
-------------------------------------------+--------------------------------
          Reporter:  philipn               |         Owner:  nobody
            Status:  closed                |     Milestone:        
         Component:  Internationalization  |       Version:  1.1   
        Resolution:  invalid               |      Keywords:        
             Stage:  Unreviewed            |     Has_patch:  1     
        Needs_docs:  0                     |   Needs_tests:  0     
Needs_better_patch:  0                     |  
-------------------------------------------+--------------------------------
Changes (by carljm):

  * status:  new => closed
  * needs_better_patch:  => 0
  * resolution:  => invalid
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 I believe this behavior is intentional (perhaps to keep substitution
 strings in translation messages simple?), as it is
 [http://docs.djangoproject.com/en/dev/topics/i18n/#in-template-code
 clearly documented]. You need to use "with O.a as O_a" in your blocktrans
 opening tag.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12104#comment:1>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to