mirror of
https://github.com/django/django.git
synced 2025-04-06 22:46:41 +00:00
[4.1.x] Fixed #25996 -- Revised performance section in URLs topic docs.
Backport of d3579ca1124a163cad760558e8d138984e7a10b4 from main
This commit is contained in:
parent
d959d66fa9
commit
950a84ce42
@ -317,8 +317,9 @@ default argument for ``num``, ``1``. If the second pattern matches,
|
||||
Performance
|
||||
===========
|
||||
|
||||
Each regular expression in a ``urlpatterns`` is compiled the first time it's
|
||||
accessed. This makes the system blazingly fast.
|
||||
Django processes regular expressions in the ``urlpatterns`` list which is
|
||||
compiled the first time it's accessed. Subsequent requests use the cached
|
||||
configuration via the URL resolver.
|
||||
|
||||
Syntax of the ``urlpatterns`` variable
|
||||
======================================
|
||||
|
Loading…
x
Reference in New Issue
Block a user