Skip to content

Commit c61c819

Browse files
authored
Move custom extensions after built-ins (#149)
1 parent e7c720d commit c61c819

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sanic_ext/bootstrap.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ def __init__(
8282
self.config = add_fallback_config(app, config, **kwargs)
8383

8484
extensions = extensions or []
85-
extensions.extend(Extend._pre_registry)
8685
if built_in_extensions:
8786
extensions.extend(
8887
[
@@ -96,6 +95,7 @@ def __init__(
9695

9796
if TEMPLATING_ENABLED:
9897
extensions.append(TemplatingExtension)
98+
extensions.extend(Extend._pre_registry)
9999

100100
started = set()
101101
for ext in extensions:

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = sanic-ext
3-
version = 22.9.0
3+
version = 22.9.1
44
url = http://github.com/sanic-org/sanic-ext/
55
license = MIT
66
author = Sanic Community

0 commit comments

Comments
 (0)