On 10/19/07, johnny <[EMAIL PROTECTED]> wrote: > upper() in output.upper(), I am assuming is the name of the template > tag. When I try to do it as in this example, I get an error: > > <snip> > > I didn't understand the output.upper() part. I think the > documentation above is written for people who already know how the > template tag works, it doesn't do any good for beginners.
It's written for people who are somewhat familiar with Python itself. upper() is a standard method of all Python strings. It has nothing to do with the template tag except that it's what the tag uses to make the string all uppercase. So instead of trying to use output.custom_format_string1(), you'd just do whatever your template tag needs to do. -Gul --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---