On Apr 28, 10:25 am, derek <gamesb...@gmail.com> wrote: > On Apr 28, 11:12 am, Daniel Roseman <dan...@roseman.org.uk> wrote: > > > On Apr 28, 9:08 am, derek <gamesb...@gmail.com> wrote: > > > > On Apr 25, 6:55 pm, Dmitry Dzhus <d...@sphinx.net.ru> wrote:> Derek wrote: > > > > > I am looking for a way to display a boolean value, with the "on" / > > > > > "off" > > > > >http://docs.djangoproject.com/en/1.1/ref/templates/builtins/#yesno > > > > -- > > > > Thanks - but that outputs strings, not URL links to images... > > > Except if you define the strings as URL links to images... > > -- > > So a '<img src="foo.gif">' string will automatically show as an image > - that's neat!
You may need to pass it through the "safe" filter. -- DR. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.