1
0
mirror of https://github.com/django/django.git synced 2025-04-04 21:46:40 +00:00

Corrected BaseDatabaseSchemaEditor.execute() signature in docs.

This commit is contained in:
Mariusz Felisiak 2021-08-27 06:12:53 +02:00 committed by GitHub
parent 3445c50a3a
commit a5cb1ef6eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ Methods
``execute()``
-------------
.. method:: BaseDatabaseSchemaEditor.execute(sql, params=[])
.. method:: BaseDatabaseSchemaEditor.execute(sql, params=())
Executes the SQL statement passed in, with parameters if supplied. This
is a wrapper around the normal database cursors that allows capture of the SQL