urls defaults import from mysite views import current_datetime urlpatt

1
2
3
4
5
6
f.urls.defaults import *
from mysite.views import current_datetime
urlpatterns = patterns(''
(r'^time/$', current_datetime),
)