]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add version token to error URL
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 11 Jun 2020 18:31:57 +0000 (14:31 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 11 Jun 2020 18:31:57 +0000 (14:31 -0400)
commitdbaf82d258cc12d92ef28de4677d147fdb7808fd
treee4239cbf2d6c9265ab28a2db1fb5844b114e3e49
parented4a4896aea7dd77dd5d8a9861302811ac421e47
Add version token to error URL

the sqlalche.me redirector now supports the numerical version
code in the URL, e.g. /13/, /14/, /20/, etc., so that we can
redirect to the error codes for the appropriate version
of SQLAlchemy in use without going through the catch-all "latest"
link.   If a particular version of the docs is no longer on the
site, the redirect will revert to falling through the "latest"
link (which ultimately lands on the current release version,
/13/ at the time of this writing).

Change-Id: I3bb463fd6fb6c8767c95a57f3699aba715a9a72d
lib/sqlalchemy/__init__.py
lib/sqlalchemy/exc.py
test/base/test_except.py