From a0ebb51158c5d09d23a063b5f9fdab89449b2d0b Mon Sep 17 00:00:00 2001 From: Asif Saif Uddin Date: Mon, 21 Nov 2022 21:55:11 +0600 Subject: [PATCH] Update docs/api-guide/routers.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Éric --- docs/api-guide/routers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api-guide/routers.md b/docs/api-guide/routers.md index 6ed139f95..93c0fa415 100644 --- a/docs/api-guide/routers.md +++ b/docs/api-guide/routers.md @@ -173,7 +173,7 @@ The router will match lookup values containing any characters except slashes and lookup_field = 'my_model_id' lookup_value_regex = '[0-9a-f]{32}' -By default the URLs created by `SimpleRouter` uses _regexs_ to build urls. This behavior can be modified by setting the `use_regex_path` argument to `False` when instantiating the router, in this case [path converters][path-convertes-topic-reference] are used. For example: +By default, the URLs created by `SimpleRouter` use regular expressions. This behavior can be modified by setting the `use_regex_path` argument to `False` when instantiating the router, in this case [path converters][path-converters-topic-reference] are used. For example: router = SimpleRouter(use_regex_path=False)