https://docs.python.org/2/library/stdtypes.html#string-formatting-operations
On 21-07-14 16:21, François Schiettecatte wrote: > Hi > > Here it tells me that 'The given URL may contain dictionary-style string > formatting...': > > > https://docs.djangoproject.com/en/1.6/ref/class-based-views/base/#redirectview > > and to get it to work I have to put an 's' at the end of the url parameters: > > url('^(?P<number>\d{6})$', RedirectView.as_view(url='/entry/%(number)s')), > > Why is there an 's' ? I could not find documentation on this. > > Thanks > > François > -- ________________________________________________________________ Paul J Stevens pjstevns @ gmail, twitter, github, linkedin www.nfg.nl/i...@nfg.nl/+31.85.877.99.97 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/53CD37A5.3020401%40nfg.nl. For more options, visit https://groups.google.com/d/optout.