summaryrefslogtreecommitdiff
path: root/alembic/templates/pylons/alembic.ini.mako
diff options
context:
space:
mode:
authorVlastimil Zíma <vlastimil.zima@nic.cz>2021-11-18 10:27:15 +0100
committerVlastimil Zíma <vlastimil.zima@nic.cz>2021-11-22 09:23:00 +0100
commit1d75fe98bc96181a830cca2c4d320f9384a8192c (patch)
treea7100604006f11a7999ed9c3b1aadbca44e96101 /alembic/templates/pylons/alembic.ini.mako
parentd18af2d6d1c49cc86b878d654b3404bb26614be6 (diff)
downloadalembic-1d75fe98bc96181a830cca2c4d320f9384a8192c.tar.gz
Tweak docs about version_path_separator
Diffstat (limited to 'alembic/templates/pylons/alembic.ini.mako')
-rw-r--r--alembic/templates/pylons/alembic.ini.mako10
1 files changed, 6 insertions, 4 deletions
diff --git a/alembic/templates/pylons/alembic.ini.mako b/alembic/templates/pylons/alembic.ini.mako
index c731354..bb425a6 100644
--- a/alembic/templates/pylons/alembic.ini.mako
+++ b/alembic/templates/pylons/alembic.ini.mako
@@ -35,16 +35,18 @@ prepend_sys_path = .
# version location specification; This defaults
# to ${script_location}/versions. When using multiple version
# directories, initial revisions must be specified with --version-path.
-# The path separator used here should be the separator specified by "version_path_separator"
+# The path separator used here should be the separator specified by "version_path_separator" below.
# version_locations = %(here)s/bar:%(here)s/bat:${script_location}/versions
# version path separator; As mentioned above, this is the character used to split
-# version_locations. Valid values are:
+# version_locations. The default within new alembic.ini files is "os", which uses os.pathsep.
+# If this key is omitted entirely, it falls back to the legacy behavior of splitting on spaces and/or commas.
+# Valid values for version_path_separator are:
#
# version_path_separator = :
# version_path_separator = ;
# version_path_separator = space
-version_path_separator = os # default: use os.pathsep
+version_path_separator = os # Use os.pathsep. Default configuration used for new projects.
# the output encoding used when revision files
# are written from script.py.mako
@@ -63,4 +65,4 @@ version_path_separator = os # default: use os.pathsep
pylons_config_file = ./development.ini
-# that's it ! \ No newline at end of file
+# that's it !