mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Fixed a number of minor misspellings.
This commit is contained in:
parent
ca39c0a6be
commit
47c755327b
28 changed files with 31 additions and 31 deletions
|
@ -271,7 +271,7 @@ Making actions available site-wide
|
|||
|
||||
This makes the `export_selected_objects` action globally available as an
|
||||
action named `"export_selected_objects"`. You can explicitly give the action
|
||||
a name -- good if you later want to programatically :ref:`remove the action
|
||||
a name -- good if you later want to programmatically :ref:`remove the action
|
||||
<disabling-admin-actions>` -- by passing a second argument to
|
||||
:meth:`AdminSite.add_action()`::
|
||||
|
||||
|
|
|
@ -226,7 +226,7 @@ CachedStaticFilesStorage
|
|||
|
||||
would be replaced by calling the
|
||||
:meth:`~django.core.files.storage.Storage.url`
|
||||
method of the ``CachedStaticFilesStorage`` storage backend, ultimatively
|
||||
method of the ``CachedStaticFilesStorage`` storage backend, ultimately
|
||||
saving a ``'css/styles.55e7cbb9ba48.css'`` file with the following
|
||||
content:
|
||||
|
||||
|
|
|
@ -233,7 +233,7 @@ probably be using this flag.
|
|||
.. django-admin-option:: --pks
|
||||
|
||||
By default, ``dumpdata`` will output all the records of the model, but
|
||||
you can use the ``--pks`` option to specify a comma seperated list of
|
||||
you can use the ``--pks`` option to specify a comma separated list of
|
||||
primary keys on which to filter. This is only available when dumping
|
||||
one model.
|
||||
|
||||
|
@ -743,7 +743,7 @@ You can provide an IPv6 address surrounded by brackets
|
|||
A hostname containing ASCII-only characters can also be used.
|
||||
|
||||
If the :doc:`staticfiles</ref/contrib/staticfiles>` contrib app is enabled
|
||||
(default in new projects) the :djadmin:`runserver` command will be overriden
|
||||
(default in new projects) the :djadmin:`runserver` command will be overridden
|
||||
with its own :ref:`runserver<staticfiles-runserver>` command.
|
||||
|
||||
.. django-admin-option:: --noreload
|
||||
|
|
|
@ -118,7 +118,7 @@ validation for your own manually created models. For example::
|
|||
article.full_clean()
|
||||
except ValidationError as e:
|
||||
# Do something based on the errors contained in e.message_dict.
|
||||
# Display them to a user, or handle them programatically.
|
||||
# Display them to a user, or handle them programmatically.
|
||||
pass
|
||||
|
||||
The first step ``full_clean()`` performs is to clean each individual field.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue