Skip to content

Commit

Permalink
Move custom extensions after built-ins (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahopkins authored Nov 6, 2022
1 parent e7c720d commit c61c819
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sanic_ext/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ def __init__(
self.config = add_fallback_config(app, config, **kwargs)

extensions = extensions or []
extensions.extend(Extend._pre_registry)
if built_in_extensions:
extensions.extend(
[
Expand All @@ -96,6 +95,7 @@ def __init__(

if TEMPLATING_ENABLED:
extensions.append(TemplatingExtension)
extensions.extend(Extend._pre_registry)

started = set()
for ext in extensions:
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = sanic-ext
version = 22.9.0
version = 22.9.1
url = http://github.com/sanic-org/sanic-ext/
license = MIT
author = Sanic Community
Expand Down

0 comments on commit c61c819

Please sign in to comment.