1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Fixed #28999 -- Documented how to reverse a class-based view by instance.

Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
This commit is contained in:
Clifford Gama
2024-10-22 14:12:02 +02:00
committed by Sarah Boyce
parent be138f32ed
commit 4d11ea1ef0
4 changed files with 27 additions and 6 deletions

View File

@@ -137,6 +137,6 @@ urlpatterns = [
path("includes/", include(other_patterns)),
# Security tests
re_path("(.+)/security/$", empty_view, name="security"),
# View function from cbv
# View function from cbv.
path("hello/<slug:name>/", view_func_from_cbv),
]