Corrected extract_views_from_urlpatterns()'s docstring.
This commit is contained in:
parent
dddc8bc47d
commit
21d8ea4eb3
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue