Skip to content
Browse files

Found a mistake in SQL documentation

  • Loading branch information...
1 parent 371dbbe commit a96bff179a57c6c7fb79585120088f155831a6ae Christopher Allen-Poole committed with charettes May 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/topics/db/sql.txt
View
2 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])

0 comments on commit a96bff1

Please sign in to comment.
Something went wrong with that request. Please try again.