2014-04-02 08:46:34 +08:00
|
|
|
from django.conf.urls import url
|
2011-04-29 20:03:02 +08:00
|
|
|
|
2011-10-14 05:34:56 +08:00
|
|
|
from .views import empty_view, LazyRedirectView, login_required_view
|
2011-04-29 20:03:02 +08:00
|
|
|
|
2014-04-02 08:46:34 +08:00
|
|
|
urlpatterns = [
|
2011-04-29 20:03:02 +08:00
|
|
|
url(r'^redirected_to/$', empty_view, name='named-lazy-url-redirected-to'),
|
|
|
|
url(r'^login/$', empty_view, name='some-login-page'),
|
|
|
|
url(r'^login_required_view/$', login_required_view),
|
2011-05-12 21:24:07 +08:00
|
|
|
url(r'^redirect/$', LazyRedirectView.as_view()),
|
2014-04-02 08:46:34 +08:00
|
|
|
]
|