On Fri, May 30, 2008 at 7:53 PM, M.Ganesh <[EMAIL PROTECTED]> wrote: > > Hi All, > > I have this url to start a note_l1 addition : > '/contacts/note_l1/add/?entity=2' > > This reaches the server and my code intact. An 'Add; page is displayed. > After I fill the form and press the 'Add' button only the > '/contacts/note_l1/add/' portion reaches the server. the '?entity=2' is > missing. I want to use this 'entity=2' info to redirect to the relevant > page. Unable to figure out what is happening. Can somebody kindly have a > look. > > The details are here : http://dpaste.com/hold/53853/ > > Thanks in advance >
The url used for the form's POST is specified on the <form> action attribute. What are you specifying for action= in your template? Dot goes back to the same page, but I don't believe it carries along query strings. So if you want your POST to include a query string I think you'll need to pass it through from the GET handling part of your view into your template so it can be included as part of the form's action attribute. Karen --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---