Kaydet (Commit) a96bff17 authored tarafından Christopher Allen-Poole's avatar Christopher Allen-Poole Kaydeden (comit) Simon Charette

Found a mistake in SQL documentation

üst 371dbbe6
...@@ -211,7 +211,7 @@ For example:: ...@@ -211,7 +211,7 @@ For example::
from django.db import connection from django.db import connection
def my_custom_sql(): def my_custom_sql(self):
cursor = connection.cursor() cursor = connection.cursor()
cursor.execute("UPDATE bar SET foo = 1 WHERE baz = %s", [self.baz]) cursor.execute("UPDATE bar SET foo = 1 WHERE baz = %s", [self.baz])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment