Found a mistake in SQL documentation

This commit is contained in:
Christopher Allen-Poole 2013-05-05 10:22:25 -04:00 committed by Simon Charette
parent 371dbbe6e0
commit a96bff179a
1 changed files with 1 additions and 1 deletions

View File

@ -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])