2007-05-10 21:46:15 +08:00
|
|
|
from django.conf.urls.defaults import *
|
|
|
|
import views
|
|
|
|
|
|
|
|
urlpatterns = patterns('',
|
|
|
|
(r'^no_template_view/$', views.no_template_view),
|
2008-06-07 14:25:59 +08:00
|
|
|
(r'^staff_only/$', views.staff_only_view),
|
2007-09-03 19:21:40 +08:00
|
|
|
(r'^get_view/$', views.get_view),
|
2008-03-20 14:50:54 +08:00
|
|
|
url(r'^arg_view/(?P<name>.+)/$', views.view_with_argument, name='arg_view'),
|
2008-08-15 20:08:29 +08:00
|
|
|
(r'^login_protected_redirect_view/$', views.login_protected_redirect_view),
|
|
|
|
(r'^set_session/$', views.set_session_view),
|
|
|
|
(r'^check_session/$', views.check_session_view),
|
2008-10-07 17:23:40 +08:00
|
|
|
(r'^request_methods/$', views.request_methods_view),
|
2007-05-10 21:46:15 +08:00
|
|
|
)
|