On 13/12/2011 5:25am, cmc wrote:
         write_info = "name: %s\n caption: %s\n source: %s\n more_info:
%s\n\n" % photo.name, caption, source, more_info

and I've always had to put parentheses around the values on the right hand side of the % like this ...

write_info = "name: %s\n caption: %s\n source: %s\n more_info: %s\n\n" % (photo.name, caption, source, more_info)

ymmv

--
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to