Ticket #13662: 13662.diff

File 13662.diff, 2.4 KB (added by Gabriel Grant, 14 years ago)

additional changes to the original patch

  • README

    diff --git a/README b/README
    index 230b2e7..17ad6b5 100644
    a b To contribute to Django:  
    4040
    4141To run Django's included unit tests:
    4242
    43     * Follow the instructions in the section "Unit tests" in
    44       docs/faq/contributing.txt, published online at http://docs.djangoproject.com/en/dev/internals/contributing/#claiming-tickets#unit-tests
    45  No newline at end of file
     43    * Follow the instructions in the "Unit tests" section of
     44      docs/internals/contributing.txt, published online at http://docs.djangoproject.com/en/dev/internals/contributing/#running-the-unit-tests
  • docs/internals/contributing.txt

    diff --git a/docs/internals/contributing.txt b/docs/internals/contributing.txt
    index 9d8827f..a2f5c95 100644
    a b Running the unit tests  
    877877Quickstart
    878878~~~~~~~~~~
    879879
    880 Running the tests requires a Django settings module that defines the databases to
    881 use. To run the tests with the included minimal ``settings`` module, ``cd`` to the
    882 Django ``tests/`` directory and type:
     880Running the tests requires a Django settings module that defines the databases
     881to use. To run the tests with the included minimal ``settings`` module, ``cd``
     882to the Django ``tests/`` directory and type:
    883883
    884884.. code-block:: bash
    885885
    886886    ./runtests.py --settings=test_sqlite
    887887
    888 Using the included ``test_sqlite.py`` allows you to get started running the tests
    889 against the SQLite database backend without doing anything else on your
     888Using the included ``test_sqlite.py`` allows you to get started running the
     889tests against the SQLite database backend without doing anything else on your
    890890filesystem. However it should be noted that running against other database
    891891backends is recommended for certain types of test cases.
    892892
    893 If you get an ``ImportError: No module named django.contrib`` error, you need to add your distribution of Django to your ``PYTHONPATH`` - see `Pointing Python at the new Django version`_ below.
     893If you get an ``ImportError: No module named django.contrib`` error, you need
     894to add your distribution of Django to your ``PYTHONPATH``. This can be done
     895temporarily by symlinking the django directory. To do so, type:
     896
     897.. code-block:: bash
     898
     899    ln -s ../django/ django
     900
     901For more details, and better options if you plan on using this version of
     902Django long-term, read `Pointing Python at the new Django version`_ below.
    894903
    895904Using another ``settings`` module
    896905~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Back to Top