diff -r 5942fe28c8b3 docs/contributing.txt
a
|
b
|
|
739 | 739 | deleted when the tests are finished. This means your user account needs |
740 | 740 | permission to execute ``CREATE DATABASE``. |
741 | 741 | |
| 742 | .. admonition:: Getting 'ImportError: No module named pkg_resources' errors? |
| 743 | |
| 744 | If you find the above error when running the unit tests, make sure you've |
| 745 | installed the setuptools_ package for the Python version you are using. |
| 746 | One of the tests tries to load a Django template from an egg so setuptools |
| 747 | is needed for that particular test. |
| 748 | |
| 749 | .. _setuptools: http://pypi.python.org/pypi/setuptools/ |
| 750 | |
742 | 751 | To run a subset of the unit tests, append the names of the test modules to the |
743 | 752 | ``runtests.py`` command line. See the list of directories in |
744 | 753 | ``tests/modeltests`` and ``tests/regressiontests`` for module names. |