Browse Source

Fixed #34749 -- Corrected QuerySet.acreate() signature in docs.

John Parton 1 năm trước cách đây
mục cha
commit
af0c5caff7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      docs/ref/models/querysets.txt

+ 1 - 1
docs/ref/models/querysets.txt

@@ -2133,7 +2133,7 @@ can use :exc:`django.core.exceptions.ObjectDoesNotExist`  to handle
 ~~~~~~~~~~~~
 
 .. method:: create(**kwargs)
-.. method:: acreate(*args, **kwargs)
+.. method:: acreate(**kwargs)
 
 *Asynchronous version*: ``acreate()``