request.GET.get('test1', 'default_value_if_None') request.GET.get('test2', 'default_value_if_None')
http://docs.djangoproject.com/en/dev/ref/request-response/#httprequest-objects On Wed, Jun 9, 2010 at 8:40 AM, rahul jain <jainwolver...@gmail.com> wrote: > HI Django, > > So I am generating a url of the form > > http://test/?test1=test&test2=test > > In my views how to process the query string ?test1=test&test2=test. I > mean how to access test1 and test2 values. > > --RJ > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- -- Dejan Noveski Web Developer dr.m...@gmail.com Twitter: http://twitter.com/dekomote | LinkedIn: http://mk.linkedin.com/in/dejannoveski -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.