projects
/
pgwui_common
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1137ecc
)
PGWUI_Server no longer configure common in a route_prefix context
author
Karl O. Pinc
<kop@karlpinc.com>
Sun, 6 Dec 2020 23:19:58 +0000
(17:19 -0600)
committer
Karl O. Pinc
<kop@karlpinc.com>
Sun, 6 Dec 2020 23:19:58 +0000
(17:19 -0600)
src/pgwui_common/pgwui_common.py
patch
|
blob
|
history
diff --git
a/src/pgwui_common/pgwui_common.py
b/src/pgwui_common/pgwui_common.py
index 45e9587b662c778ecdac1bc0b977cb1b99135369..8ed3ec009200b9c56e5ea7a4a18edcda0e3ff96d 100644
(file)
--- a/
src/pgwui_common/pgwui_common.py
+++ b/
src/pgwui_common/pgwui_common.py
@@
-37,8
+37,7
@@
def configure_page(config, pgwui_settings, page_name):
type = page_settings['type']
if type == 'file':
route_name = f'pgwui_common.{page_name}'
- with config.route_prefix_context(None):
- config.add_route(route_name, page_settings['url_path'])
+ config.add_route(route_name, page_settings['url_path'])
config.add_view(pgwui_common.views.page_views.PageViewer,
attr=page_name, route_name=route_name)