I have an ajax request coming in like this
http://localhost:8000/board/getnames?age=31&sex=1

I cannot change it to http://localhost:8000/board/getnames/31/1


1) what would be the url pattern to use in urls.py?


2) what would be view method - def getname(request, age = None, sex =
None):

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