Hi,

Using capitals nor crossposting doesn't get you far. You need to do your 
homework [1].

Can you tell what you have tried and how to resolve your problem? 

Hint: This all is documented in Django documentation. If you have some more 
specific problems applying techniques described in documentation come back and 
ask.

[1] http://www.catb.org/~esr/faqs/smart-questions.html#homework

-- 

Jani Tiainen

On Wednesday 03 November 2010 15:15:49 sami nathan wrote:
> HOW TO GET XML RESPONSE in following
> THIS IS HOW MY URL.PY LOOKS LIKE
> 
> from django.conf.urls.defaults import *
> from it.view import current_datetime
> 
> 
> 
> # Uncomment the next two lines to enable the admin:
> #from django.contrib import admin
> #admin.autodiscover()
> 
> 
> urlpatterns = patterns('',
>   # Example:
>    (r"^wap/di/sub/$",current_datetime),
>   # Uncomment the admin/doc line below to enable admin documentation:
>   # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
> 
>   # Uncomment the next line to enable the admin:
>   # (r'^admin/', include(admin.site.urls)),
> )
> 
> `~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> My view .py looks like this
> 
> from django.http import *
> import urllib
> from django_restapi.responder import XMLResponder
> 
> 
> 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)

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