Re: django docs __unicode__ return u'%s %s
On Tue, 2012-01-24 at 18:33 -0600, James Bennett wrote:
> On Tue, Jan 24, 2012 at 5:04 PM, Krondaj <c.d.smith9@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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home