If I may say, 'u' makes it easy to return variable with any hassle. And %s rep each string in your script. I think there should be other ways to go about this. Hope you get my point?
kenneth gonsalves wrote: > On Tue, 2012-01-24 at 18:33 -0600, James Bennett wrote: > > On Tue, Jan 24, 2012 at 5:04 PM, Krondaj <c.d.smi...@gmail.com> wrote: > > > what does the u'%s %s' % mean... I cannot find any exaplanation of > > > this in the docs? > > > > It's not covered in Django's documentation because it's a standard > > feature of the Python programming language -- this is basic Python > > string formatting, which follows similar conventions to printf()-style > > formatting in other languages. > > soon to be deprecated in favour of using format. > -- > regards > Kenneth Gonsalves -- 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.