1
0
mirror of https://github.com/django/django.git synced 2025-10-25 06:36:07 +00:00

Corrected extract_views_from_urlpatterns()'s docstring.

This commit is contained in:
Nikita Sobolev
2022-05-06 10:50:46 +03:00
committed by GitHub
parent dddc8bc47d
commit 21d8ea4eb3

View File

@@ -456,7 +456,8 @@ def extract_views_from_urlpatterns(urlpatterns, base="", namespace=None):
"""
Return a list of views from a list of urlpatterns.
Each object in the returned list is a two-tuple: (view_func, regex)
Each object in the returned list is a four-tuple:
(view_func, regex, namespace, name)
"""
views = []
for p in urlpatterns: