On Jun 25, 2010, at 5:40 AM, ilovesss2004 wrote: > Here is code of my routes.py > > routes_in = (('/', '/myapp/default/index'), > ) > > routes_out = (('/myapp/default/index', '/'), > ) > > When I enter 127.0.0.1:8000 in browser, myapp do show but the ajax > function does't work. I must enter 127.0.0.1:8000/myapp/default/index > in browser then the ajax function will act.
You might try: routes_in = (('/?', '/myapp/default/index'), )