#12104: Object->object lookup fails in blocktrans
-------------------------------------+-------------------------------------
     Reporter:  philipn              |                    Owner:  nobody
         Type:  New feature          |                   Status:  closed
    Component:                       |                  Version:  1.1
  Internationalization               |               Resolution:  fixed
     Severity:  Normal               |             Triage Stage:  Design
     Keywords:                       |  decision needed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by julien):

 * status:  reopened => closed
 * ui_ux:   => 0
 * resolution:   => fixed
 * easy:   => 0


Comment:

 This is essentially fixed since `KeyError` isn't thrown any more after
 [16723].

 Besides, I don't think that `{{ variable.attribute }}` lookups should be
 allowed, especially since `blocktrans` already offers ways of creating
 simple temporary variables and it's all well documented. One can always
 use `{{ foo.bar }}` inside `blocktrans` but that will count as a flat
 variable name called "foo.bar", which should work as far as gettext itself
 is concerned.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/12104#comment:5>
Django <https://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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to