THANKS FOR NOTIFICATION

I am trying to do webservice with RESTfull web service but i dint create models

my view file looks like this
from django.http import *
import urllib

def current_datetime(request):
    word = request.GET['word']
    
message=urllib.urlopen('http://m.broov.com/wap/di/sub?word='+word+'&type=00submit=Submit',)
    return HttpResponse(message)

My url looks like this (r'^wap/di/sub/',current_datetime ),
i want to restify my view but all examples are showing oly models .py
 now i need help to do that
THANKS

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

Reply via email to