mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Edited some docs and docstrings until [17685]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17686 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -1199,8 +1199,8 @@ change the password whose username matches the current user.
|
||||
|
||||
.. versionadded:: 1.4
|
||||
|
||||
The ``--database`` option can be used to specify the database to query for the
|
||||
user. If it is not supplied the ``default`` database will be used.
|
||||
Use the ``--database`` option to specify the database to query for the user. If
|
||||
it's not supplied, Django will use the ``default`` database.
|
||||
|
||||
Example usage::
|
||||
|
||||
@@ -1234,8 +1234,8 @@ it when running interactively.
|
||||
|
||||
.. versionadded:: 1.4
|
||||
|
||||
The ``--database`` option can be used to specify the database into which the
|
||||
superuser object will be saved.
|
||||
Use the ``--database`` option to specify the database into which the superuser
|
||||
object will be saved.
|
||||
|
||||
``django.contrib.gis``
|
||||
----------------------
|
||||
|
||||
@@ -1377,7 +1377,7 @@ This has a number of caveats though:
|
||||
maximum is defined by the SQLITE_MAX_VARIABLE_NUMBER_ compilation option,
|
||||
which defaults to 999. For instance, if your model has 8 fields (including
|
||||
the primary key), you cannot create more than 999 // 8 = 124 instances at
|
||||
a time. If you exceed this limit, you will get an exception::
|
||||
a time. If you exceed this limit, you'll get an exception::
|
||||
|
||||
django.db.utils.DatabaseError: too many SQL variables
|
||||
|
||||
|
||||
Reference in New Issue
Block a user