Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Found a mistake in SQL documentation

  • Loading branch information...
commit a96bff179a57c6c7fb79585120088f155831a6ae 1 parent 371dbbe
Christopher Allen-Poole authored charettes committed
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])
Please sign in to comment.
Something went wrong with that request. Please try again.