2011-09-11 22:36:16 +00:00
|
|
|
from django.conf.urls import patterns
|
2011-04-02 08:45:38 +00:00
|
|
|
from django.views.generic import RedirectView
|
2011-10-13 18:04:12 +00:00
|
|
|
|
|
|
|
from . import views
|
|
|
|
|
2006-09-02 09:34:40 +00:00
|
|
|
|
|
|
|
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),
|
2013-02-08 23:45:26 +00:00
|
|
|
(r'^formset_view/$', views.formset_view),
|
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),
|
2011-08-12 14:15:41 +00:00
|
|
|
(r'^permission_protected_view_exception/$', views.permission_protected_view_exception),
|
2007-11-07 22:45:07 +00:00
|
|
|
(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),
|
2013-09-07 21:13:57 +00:00
|
|
|
(r'^mass_mail_sending_view/$', views.mass_mail_sending_view),
|
|
|
|
(r'^django_project_redirect/$', views.django_project_redirect),
|
2006-09-02 09:34:40 +00:00
|
|
|
)
|