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:
committed by
Sarah Boyce
parent
be138f32ed
commit
4d11ea1ef0
@@ -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),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user