2011-10-13 21:34:56 +00:00
|
|
|
from __future__ import absolute_import
|
|
|
|
|
2011-09-11 22:36:16 +00:00
|
|
|
from django.conf.urls import patterns, url
|
2011-04-29 12:03:02 +00:00
|
|
|
|
2011-10-13 21:34:56 +00:00
|
|
|
from .views import empty_view, LazyRedirectView, login_required_view
|
2011-04-29 12:03:02 +00:00
|
|
|
|
|
|
|
urlpatterns = patterns('',
|
|
|
|
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 13:24:07 +00:00
|
|
|
url(r'^redirect/$', LazyRedirectView.as_view()),
|
2011-04-29 12:03:02 +00:00
|
|
|
)
|