diff options
| author | Tim Graham <timograham@gmail.com> | 2016-09-30 08:58:59 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-09-30 09:14:17 -0400 |
| commit | 98196766769c2ed8816772b60a2e8b79028963a2 (patch) | |
| tree | 204da966984c1825a8972cbae051d0d317a50233 /django | |
| parent | bceade84a7337b1f27c3bf7ec158051128f3324b (diff) | |
Updated links to the current version of MySQL docs.
Diffstat (limited to 'django')
| -rw-r--r-- | django/contrib/gis/db/backends/mysql/operations.py | 2 | ||||
| -rw-r--r-- | django/db/backends/mysql/base.py | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/django/contrib/gis/db/backends/mysql/operations.py b/django/contrib/gis/db/backends/mysql/operations.py index b59060b221..ce91428d53 100644 --- a/django/contrib/gis/db/backends/mysql/operations.py +++ b/django/contrib/gis/db/backends/mysql/operations.py @@ -116,7 +116,7 @@ class MySQLOperations(BaseSpatialOperations, DatabaseOperations): converters.append(self.convert_invalid_empty_geometry_collection) return converters - # https://dev.mysql.com/doc/refman/5.7/en/spatial-function-argument-handling.html + # https://dev.mysql.com/doc/refman/en/spatial-function-argument-handling.html # MySQL 5.7.5 adds support for the empty geometry collections, but they are represented with invalid WKT. def convert_invalid_empty_geometry_collection(self, value, expression, connection, context): if value == b'GEOMETRYCOLLECTION()': diff --git a/django/db/backends/mysql/base.py b/django/db/backends/mysql/base.py index cce3b9de99..507b15e531 100644 --- a/django/db/backends/mysql/base.py +++ b/django/db/backends/mysql/base.py @@ -79,9 +79,7 @@ django_conversions.update({ }) # This should match the numerical portion of the version numbers (we can treat -# versions like 5.0.24 and 5.0.24a as the same). Based on the list of version -# at http://dev.mysql.com/doc/refman/4.1/en/news.html and -# http://dev.mysql.com/doc/refman/5.0/en/news.html . +# versions like 5.0.24 and 5.0.24a as the same). server_version_re = re.compile(r'(\d{1,2})\.(\d{1,2})\.(\d{1,2})') |
