Ticket #3628: docs.testing.diff

File docs.testing.diff, 1.0 KB (added by Manoj Govindan <egmanoj@…>, 8 years ago)

Testing documentation with correct URL for django_admin.

  • testing.txt

     
    393393        def setUp(self):
    394394            # test definitions as before
    395395
    396 At the start of each test vase, before ``setUp()`` is run, Django will
     396At the start of each test case, before ``setUp()`` is run, Django will
    397397flush the database, returning the database the state it was in directly
    398398after ``syncdb`` was called. Then, all the named fixtures are installed.
    399399In this example, any JSON fixture called ``mammals``, and any fixture
    400400named ``birds`` will be installed. See the documentation on
    401401`loading fixtures`_ for more details on defining and installing fixtures.
    402402
    403 .. _`loading fixtures`: ../django-admin/#loaddata-fixture-fixture
     403.. _`loading fixtures`: ../django_admin/#loaddata-fixture-fixture
    404404
    405405This flush/load procedure is repeated for each test in the test case, so you
    406406can be certain that the outcome of a test will not be affected by
Back to Top