HI

THIS IS MY REQUIRED URL
http://localhost/flip/wap/di/sub?word=check&type=00&submit=Submit

here check should be displayed in my page we are using this for
dictionary  but my task is to just display that word check in my page
, moreover its user defined
 my  urls.py is looking like this


urlpatterns = patterns('',

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


And my view looks like this


from django.http import HttpResponse


def current_datetime(request):

   word = request.GET['word']
  return HttpResponse(word)

but it still showing  Error
Exception Value:        

unindent does not match any outer indentation level (view.py, line 7)

-- 
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: Jirka Vejrazka
    • Re: sami nathan
      • Re: Jirka Vejrazka
        • Re: sami nathan

Reply via email to