0
0
mirror of https://github.com/django/django.git synced 2024-11-22 03:18:31 +01:00
django/tests/urlpatterns_reverse/reverse_lazy_urls.py
2022-02-07 20:37:05 +01:00

11 lines
357 B
Python

from django.urls import path
from .views import LazyRedirectView, empty_view, login_required_view
urlpatterns = [
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()),
]