i want to send my req from my url that
is"http://localhost/flip/wap/di/sub?word=formula&type=00&submit=Submit"
that i want to send only the word "formula" to the url
"http://m.broov.com/wap/di/sub?word=fomula&type=00&submit=Submit"and i
want to get response from the same url and display in my page
my view looks like this
------------------------------------------------------------------------------------------------
from django.http import *
from django.template import loader, Context
def current_datetime(request):
word = request.GET['word']
message=HttpResponse('http://m.broov.com/wap/di/sub?word='+word+'&submit=Submit')
return HttpResponse(message)
MY url looks like this
--------------------------------------------------------------------------------------------------------
from django.conf.urls.defaults import *
from flip.view import current_datetime
urlpatterns = patterns('',
:
(r"^wap/di/sub",current_datetime)
I AM GETTING RESPONSE HAS THE SAME URL IN MY DISPLAY PAGE
--
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.