Michael Manfre  committed dadb288

Fixed 'unsupported format character 'S'' caused by iendswith operator

  • Participants
  • Parent commits f9f54df
  • Branches default

Comments (0)

Files changed (2)

File docs/changelog.txt

   expects the name of a stored procedure that returns a result set that matches the model.
 - Documented known issue with database introspection with ``DEBUG = True`` and column names containing '%'.
   See :ref:`introspecting-percent-columns`.
+- Fixed error with `iendswith` string format operator.

File sqlserver_ado/

         "startswith": "LIKE %s ESCAPE '\\'",
         "endswith": "LIKE %s ESCAPE '\\'",
         "istartswith": "LIKE %s ESCAPE '\\'",
-        "iendswith": "LIKE %S ESCAPE '\\'",
+        "iendswith": "LIKE %s ESCAPE '\\'",
     def __init__(self, *args, **kwargs):