2018-12-08 06:52:28 +08:00
|
|
|
from django.urls import path
|
2011-04-29 20:03:02 +08:00
|
|
|
|
2015-01-28 20:35:27 +08:00
|
|
|
from .views import LazyRedirectView, empty_view, login_required_view
|
2011-04-29 20:03:02 +08:00
|
|
|
|
2014-04-02 08:46:34 +08:00
|
|
|
urlpatterns = [
|
2018-12-08 06:52:28 +08:00
|
|
|
path('redirected_to/', empty_view, name='named-lazy-url-redirected-to'),
|
|
|
|
path('login/', empty_view, name='some-login-page'),
|
|
|
|
path('login_required_view/', login_required_view),
|
|
|
|
path('redirect/', LazyRedirectView.as_view()),
|
2014-04-02 08:46:34 +08:00
|
|
|
]
|