Skip to content

Commit

Permalink
Fixed a couple of documentation typos.
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15534 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
ramiro committed Feb 14, 2011
1 parent 72e4a68 commit d7c2dcd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/howto/custom-management-commands.txt
Expand Up @@ -102,8 +102,8 @@ default options such as :djadminopt:`--verbosity` and :djadminopt:`--traceback`.

The :meth:`BaseCommand.execute` method sets the hardcoded ``en-us`` locale
because the commands shipped with Django perform several tasks
(for example, user-visible content and database population) that require
a system-neutral string language (for which we use ``en-us``).
(for example, user-facing content rendering and database population) that
require a system-neutral string language (for which we use ``en-us``).

If your custom management command uses another locale, you should manually
activate and deactivate it in your :meth:`~BaseCommand.handle` or
Expand Down
2 changes: 1 addition & 1 deletion docs/ref/contrib/admin/index.txt
Expand Up @@ -1287,7 +1287,7 @@ on whichever model contains the actual reference to the
:class:`~django.db.models.ManyToManyField`. Depending on your ``ModelAdmin``
definition, each many-to-many field in your model will be represented by a
standard HTML ``<select multiple>``, a horizontal or vertical filter, or a
``raw_id_admin`` widget. However, it is also possible to to replace these
``raw_id_admin`` widget. However, it is also possible to replace these
widgets with inlines.

Suppose we have the following models::
Expand Down
2 changes: 1 addition & 1 deletion docs/ref/contrib/gis/admin.txt
Expand Up @@ -50,7 +50,7 @@ GeoDjango's admin site

.. attribute:: modifiable

Defaults to ``False``. When set to to ``True``, disables editing of
Defaults to ``False``. When set to ``True``, disables editing of
existing geometry fields in the admin.

.. note::
Expand Down

0 comments on commit d7c2dcd

Please sign in to comment.