Skip to content

Commit

Permalink
Adjust Django docs because of new mail feature
Browse files Browse the repository at this point in the history
The Django docs mentioned that Lettuce used the locmem backend. Update
the docs to reflect that this has changed.
  • Loading branch information
Lorin Hochstein committed Jan 20, 2013
1 parent f84207b commit 3c18315
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/recipes/django-lxml.rst
Expand Up @@ -118,9 +118,10 @@ Once you install the ``lettuce.django`` app, the command ``harvest`` will be ava


The ``harvest`` command executes the ``django.test.utils.setup_test_environment``
function before it starts up the Django server. One side-effect is that the
server will not send out any emails, because it configures Django to use the
locmem_ in-memory email backend.
function before it starts up the Django server. Typically, invoking this function
would configure Django to use the locmem_ in-memory email backend. However,
Lettuce uses a custom Django email backend to support retrieving email from
Lettuce test scripts. See :ref:`lettuce-checking-email` for more details.

5. specifying feature files
===========================
Expand Down Expand Up @@ -262,6 +263,8 @@ Notice the ``terrain.py`` file at the project root, there you can
populate the :ref:`lettuce-world` and organize your features and steps
with it :)

.. _lettuce-checking-email:

Checking email
==============

Expand Down

0 comments on commit 3c18315

Please sign in to comment.