summaryrefslogtreecommitdiff
path: root/docs/topics/db/sql.txt
diff options
context:
space:
mode:
authorChristopher Allen-Poole <cw@allen-poole.com>2013-05-05 10:22:25 -0400
committerSimon Charette <charette.s@gmail.com>2013-05-05 11:01:45 -0400
commita96bff179a57c6c7fb79585120088f155831a6ae (patch)
tree45ebd815d817fbc64e0291828303599e700c18ea /docs/topics/db/sql.txt
parent371dbbe6e01f0fd0276998f6d7f78c86b49d2e97 (diff)
downloaddjango-a96bff179a57c6c7fb79585120088f155831a6ae.tar.gz
Found a mistake in SQL documentation
Diffstat (limited to 'docs/topics/db/sql.txt')
-rw-r--r--docs/topics/db/sql.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/db/sql.txt b/docs/topics/db/sql.txt
index 3bf0684b29..2ec31a4988 100644
--- a/docs/topics/db/sql.txt
+++ b/docs/topics/db/sql.txt
@@ -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])