Commit a96bff17 authored by Christopher Allen-Poole's avatar Christopher Allen-Poole Committed by Simon Charette
Browse files

Found a mistake in SQL documentation

parent 371dbbe6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -211,7 +211,7 @@ For example::

    from django.db import connection

    def my_custom_sql():
    def my_custom_sql(self):
        cursor = connection.cursor()

        cursor.execute("UPDATE bar SET foo = 1 WHERE baz = %s", [self.baz])