hi, there,

I'm learning django these days. and urls.py is as follow:
    ...
    (r'^hello/$', 'web.hello.index'),
    (r'^test/$', 'web.test.index'),
    ...

it looks complicated, can it be much simpler, even only one line?  And
it can do the follow things?:
e.g. a) when access http://localhost/test, I means to call  TEST's
index;
    b) when access http://localhost/test/hello, I means to call TEST's
hello.

Best Regards


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to