Django

Code

Ticket #6070 (closed: fixed)

Opened 9 months ago

Last modified 9 months ago

Document that SITE_ID is no longer required to run all tests

Reported by: anonymous Assigned to: nobody
Milestone: Component: Documentation
Version: SVN Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

I just ran all tests successfully with the following settings.py file:

URL_CONF = "urls"
DATABASE_ENGINE = "sqlite3"

so the mention about "and a SITE_ID setting (any non-zero integer value will do) in order for all the tests to pass." in the Contributing to Django page is wrong.

Btw, why not put the above settings.py file in the tests directory to make it even easier for people to get going and start running tests? Just name it sample_test_settings.py.

Attachments

runtest-docs.patch (0.9 kB) - added by beorn on 11/30/07 22:24:10.

Change History

11/30/07 22:24:10 changed by beorn

  • attachment runtest-docs.patch added.

12/01/07 19:26:29 changed by Simon G <dev@simon.net.nz>

  • needs_better_patch changed.
  • stage changed from Unreviewed to Ready for checkin.
  • summary changed from SITE_ID no longer required to run all tests? to Document that SITE_ID is no longer required to run all tests.
  • needs_tests changed.
  • needs_docs changed.

12/02/07 09:33:08 changed by mtredinnick

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in [6830]


Add/Change #6070 (Document that SITE_ID is no longer required to run all tests)




Change Properties
Action