diff options
| author | Jannis Leidel <jannis@leidel.info> | 2010-02-23 20:45:50 +0000 |
|---|---|---|
| committer | Jannis Leidel <jannis@leidel.info> | 2010-02-23 20:45:50 +0000 |
| commit | c8fa1100930e9741848160fa1fd516e2eb315018 (patch) | |
| tree | 9fa72015acbbfde079b2fa0399862f4be5d3c905 /docs | |
| parent | 2164e138e32cf8b00a0e43025c64150ec1238cf8 (diff) | |
Fixed #6298 - Added sample settings file to run the Django test suite (SQLite). Thanks, Eric Holscher.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12547 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/internals/contributing.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/internals/contributing.txt b/docs/internals/contributing.txt index 8258c5e819..2e1831aec8 100644 --- a/docs/internals/contributing.txt +++ b/docs/internals/contributing.txt @@ -826,6 +826,20 @@ following is a minimal settings file that can be used to test SQLite:: } } +As a convenience, this settings file is included in your Django +distribution. It is called ``test_sqlite`, and is included in +the ``tests`` directory. This allows you to get started running +the tests against the sqlite database without doing anything on +your filesystem. However it should be noted that running against +other database backends is recommended for certain types of test +cases. + +To run the tests with this included settings file, ``cd`` +to the ``tests/`` directory and type: + +.. code-block:: bash + + ./runtests.py --settings=test_sqlite If you're using another backend, you will need to provide other details for each database: |
