Thanks very much for your help. There wont be any URL pattern I can write which use same method i called for "URL/id/1".
On Jun 14, 11:13 pm, Tim Chase <django.us...@tim.thechases.com> wrote: > > I have got select box which is auto submit button. In response of > > submission of form.. URL is forming like.. > > > i.e (http://www.example.com/?id=numbericvalue).. > > > I don't know how to handle this "?id=" in URL pattern.. > > > I am having working URL pattern which is handling "URL/id/1" this kind > > of format. > > Well, the browser will format the form as a your first example: > > http://example.com/?id=number > > Django's URL dispatch mechanism will treat this is a URL of "/" > (to be dispatched via your URL patterns), and then that view > should make use of "request.GET['id']" to deal with that > particular ID from the query-string. When you're done with your > processing of the form GET/POST, you can redirect the user > tohttp://example.com/id/1 if you want. > > -tim --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---