On Sun, Aug 31, 2008 at 1:58 PM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I would like to use
> {% printformfooter _("Submit Message") "Cancel" %}
>
> as it is documented here:
> http://www.djangoproject.com/documentation/i18n/#in-template-code
>
> but I get the error:
> "
> TemplateSyntaxError at /project/1/message/create/
>
> printformfooter takes 3 arguments
> "
>
> printformfooter is working fine if I don't put _().
>
> Could someone please tell me what I'm doing wrong.
>

This is a bug and has been reported as ticket |1] #7027, you can track
the advance of the issue there.

Also, you can help by applying the latest patch attached to it and posting you
experience there as a comment if you find some problem with it.

Regards,

1. http://code.djangoproject.com/ticket/7027

-- 
 Ramiro Morales

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to