mirror of
https://github.com/django/django.git
synced 2024-12-27 03:25:58 +00:00
cd8eeaacf5
and OPTIONS support. Thanks Scott Barr and Leah Culver. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9188 bcc190cf-cafb-0310-a4f2-bffc1f526a37
14 lines
542 B
Python
14 lines
542 B
Python
from django.conf.urls.defaults import *
|
|
import views
|
|
|
|
urlpatterns = patterns('',
|
|
(r'^no_template_view/$', views.no_template_view),
|
|
(r'^staff_only/$', views.staff_only_view),
|
|
(r'^get_view/$', views.get_view),
|
|
url(r'^arg_view/(?P<name>.+)/$', views.view_with_argument, name='arg_view'),
|
|
(r'^login_protected_redirect_view/$', views.login_protected_redirect_view),
|
|
(r'^set_session/$', views.set_session_view),
|
|
(r'^check_session/$', views.check_session_view),
|
|
(r'^request_methods/$', views.request_methods_view),
|
|
)
|