Commit 55943c09 authored by Karen Tracey's avatar Karen Tracey
Browse files

[1.0.X] Fixed #9497 - Doc typos. Many thanks ramiro.

[9330] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9331 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent f1eb098d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ allows access to users with those two fields both set to True.
How can I prevent the cache middleware from caching the admin site?
-------------------------------------------------------------------

Set the :setting:``CACHE_MIDDLEWARE_ANONYMOUS_ONLY`` setting to ``True``. See the
Set the :setting:`CACHE_MIDDLEWARE_ANONYMOUS_ONLY` setting to ``True``. See the
:ref:`cache documentation <topics-cache>` for more information.

How do I automatically set a field's value to the user who last edited the object in the admin?
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ How to use Databrowse
         more.

       * Otherwise, determine the full filesystem path to the
         `:file:`django/contrib/databrowse/templates` directory, and add that
         :file:`django/contrib/databrowse/templates` directory, and add that
         directory to your :setting:`TEMPLATE_DIRS` setting.

    2. Register a number of models with the Databrowse site::
+1 −1
Original line number Diff line number Diff line
@@ -207,7 +207,7 @@ In this case, you'd have to create :file:`subject.txt` and :file:`message.txt` t
files for both the LJWorld.com and Lawrence.com template directories. That
gives you more flexibility, but it's also more complex.

It's a good idea to exploit the :class:`~django.contrib.sites.models.Site``
It's a good idea to exploit the :class:`~django.contrib.sites.models.Site`
objects as much as possible, to remove unneeded complexity and redundancy.

Getting the current domain for full URLs
+5 −5
Original line number Diff line number Diff line
@@ -275,7 +275,7 @@ SQLite and is not affected by this issue.
If you are in such platform and find yourself in the need to update
``pysqlite``/SQLite, you will also need to manually modify the
``django/db/backends/sqlite3/base.py`` file in the Django source tree so it
attempts to import ``pysqlite2`` before that ``sqlite3`` and so it can take 
attempts to import ``pysqlite2`` before than ``sqlite3`` and so it can take
advantage of the new ``pysqlite2``/SQLite versions.

.. _oracle-notes:
+2 −2
Original line number Diff line number Diff line
@@ -627,7 +627,7 @@ of the arguments is required, but you should use at least one of them.
    .. versionadded:: 1.0

    In some rare cases, you might wish to pass parameters to the SQL fragments
    in ``extra(select=...)```. For this purpose, use the ``select_params``
    in ``extra(select=...)``. For this purpose, use the ``select_params``
    parameter. Since ``select_params`` is a sequence and the ``select``
    attribute is a dictionary, some care is required so that the parameters
    are matched up correctly with the extra select pieces.  In this situation,
Loading