2006-09-02 09:34:40 +00:00
|
|
|
from django.conf.urls.defaults import *
|
2011-04-02 08:45:38 +00:00
|
|
|
from django.views.generic import RedirectView
|
2006-09-02 09:34:40 +00:00
|
|
|
import views
|
|
|
|
|
|
|
|
urlpatterns = patterns('',
|
|
|
|
(r'^get_view/$', views.get_view),
|
|
|
|
(r'^post_view/$', views.post_view),
|
2008-07-12 06:16:42 +00:00
|
|
|
(r'^header_view/$', views.view_with_header),
|
2007-02-17 00:23:09 +00:00
|
|
|
(r'^raw_post_view/$', views.raw_post_view),
|
2006-09-02 09:34:40 +00:00
|
|
|
(r'^redirect_view/$', views.redirect_view),
|
2010-02-13 12:01:14 +00:00
|
|
|
(r'^secure_view/$', views.view_with_secure),
|
2011-04-02 08:45:38 +00:00
|
|
|
(r'^permanent_redirect_view/$', RedirectView.as_view(url='/test_client/get_view/')),
|
|
|
|
(r'^temporary_redirect_view/$', RedirectView.as_view(url='/test_client/get_view/', permanent=False)),
|
|
|
|
(r'^http_redirect_view/$', RedirectView.as_view(url='/test_client/secure_view/')),
|
|
|
|
(r'^https_redirect_view/$', RedirectView.as_view(url='https://testserver/test_client/secure_view/')),
|
2007-05-10 11:27:59 +00:00
|
|
|
(r'^double_redirect_view/$', views.double_redirect_view),
|
|
|
|
(r'^bad_view/$', views.bad_view),
|
2007-03-22 10:23:52 +00:00
|
|
|
(r'^form_view/$', views.form_view),
|
2007-05-07 12:34:18 +00:00
|
|
|
(r'^form_view_with_template/$', views.form_view_with_template),
|
2006-09-02 09:34:40 +00:00
|
|
|
(r'^login_protected_view/$', views.login_protected_view),
|
2007-11-07 22:45:07 +00:00
|
|
|
(r'^login_protected_method_view/$', views.login_protected_method_view),
|
2007-09-14 19:25:37 +00:00
|
|
|
(r'^login_protected_view_custom_redirect/$', views.login_protected_view_changed_redirect),
|
2007-11-07 22:45:07 +00:00
|
|
|
(r'^permission_protected_view/$', views.permission_protected_view),
|
|
|
|
(r'^permission_protected_method_view/$', views.permission_protected_method_view),
|
2007-02-11 00:23:31 +00:00
|
|
|
(r'^session_view/$', views.session_view),
|
2007-05-08 11:19:34 +00:00
|
|
|
(r'^broken_view/$', views.broken_view),
|
|
|
|
(r'^mail_sending_view/$', views.mail_sending_view),
|
|
|
|
(r'^mass_mail_sending_view/$', views.mass_mail_sending_view)
|
2006-09-02 09:34:40 +00:00
|
|
|
)
|