From a6272fd59369fea6831cebc38582268432252e62 Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" Date: Tue, 13 Nov 2018 18:55:07 -0600 Subject: [PATCH] Add pgwui.route_prefix to example ini files --- examples/development.ini | 19 +++++++++++++++++++ examples/pgwui.ini | 19 +++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/examples/development.ini b/examples/development.ini index b70bccb..4500ff6 100644 --- a/examples/development.ini +++ b/examples/development.ini @@ -32,6 +32,25 @@ pyramid.includes = #dry_run = True pgwui.dry_run = False +# Routing + +# Routes are what call up specific pages. They are usually the +# part of the URL which comes after the http://example.com. +# +# All routes should probably begin with a "/" character but +# if they do not a "/" will be automatically prepended. +# +# A full URL may be given as a route. The is useful for redirecting +# to other sites. +# +# For more information on route syntax see: +# https://docs.pylonsproject.org/projects/pyramid/en/master/narr/urldispatch.html#route-pattern-syntax + +# A prefix for all routes. If the prefix is "/a/b/c" then +# all URLs will begin with something like: http://example.com/a/b/c +# The default is no prefix. +# pgwui.route_prefix = + # # Pyramid configuration diff --git a/examples/pgwui.ini b/examples/pgwui.ini index 421d31d..99213ba 100644 --- a/examples/pgwui.ini +++ b/examples/pgwui.ini @@ -30,6 +30,25 @@ pyramid.includes = # Whether or not to change the db content. pgwui.dry_run = False +# Routing + +# Routes are what call up specific pages. They are the +# part of the URL which comes after the http://example.com. +# +# All routes should probably begin with a "/" character but +# if they do not a "/" will be automatically prepended. +# +# A full URL may be given as a route. The is useful for redirecting +# to other sites. +# +# For more information on route syntax see: +# https://docs.pylonsproject.org/projects/pyramid/en/master/narr/urldispatch.html#route-pattern-syntax + +# A prefix for all routes. If the prefix is "/a/b/c" then +# all URLs will begin with something like: http://example.com/a/b/c +# The default is no prefix. +# pgwui.route_prefix = + # # Pyramid configuration -- 2.34.1