Sir,
i got two way of suggestion s now i am bitter confused waht should i
use now,now i will clearly tell my requirement
http://m.broov.com/wap/di/sub?word=check&type=00&submit=Submit
pls visit this site  and replace the word check with any word u like
it will display some rsults below now i don't want that  results to be
printed below
 i want only that word should be  printed i got two suggestion    from
django users
   1. So, your urls.py would look like this:

(r"^wap/di/sub", hellow)

 And your view would contain the following code:

def hellow(request):
  word = request.GET['word']
  return HttpResponse(word)
---------------------------------------------------------------------------------------------------------------------------
2.So url looks like this
(r"^wap/di/sub?word=(\w+)&type=00&submit=Submit",hellow),
view look like this
html = "<html><body>" + word + "</body></html>"
 which is the best to use but both getting error

-- 
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.

  • Re: sami nathan
    • Re: sami nathan
      • Re: sami nathan
        • Re: Jonathan Barratt
          • Re: sami nathan
            • Re: Jonathan Barratt

Reply via email to