It worked as follows:

return HttpResponseRedirect('/userans/%s/%s/' % (uno,qno))

Thank you for helping..

On Sat, Jan 16, 2010 at 3:36 PM, Daniel Roseman <[email protected]>wrote:

> On Jan 16, 8:38 am, grp25 <[email protected]> wrote:
> > The code which we have written is
> >                   return HttpResponseRedirect ('/userans/%d/%d'  %
> > uno,qno)
> >
> > And the error given is int argument required error..
> >
> > Can anyone tell syntax for this......
>
> Nothing to do with HttpResponseRedirect, it's the string interpolation
> syntax that is giving a problem. Presumably one of uno and qno are not
> integers, and %d only works with ints. Use %s instead.
> --
> DR.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<django-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
>
>
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

Reply via email to