소스 검색

Found a mistake in SQL documentation

Christopher Allen-Poole 12 년 전
부모
커밋
a96bff179a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/topics/db/sql.txt

+ 1 - 1
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])