]> 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:33:54 +0000 (14:33 -0400)
commitafb9c5ddfbb51cf43f3221801771b30906fb6fe7
treeb4d4071a329ceae7d758063eea441c65b18af9df
parent52c50fee2d082901f8d830f1963fc18bd01185ce
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
(cherry picked from commit dbaf82d258cc12d92ef28de4677d147fdb7808fd)
lib/sqlalchemy/__init__.py
lib/sqlalchemy/exc.py
test/base/test_except.py