Opened 16 years ago

Closed 16 years ago

#6070 closed (fixed)

Document that SITE_ID is no longer required to run all tests

Reported by: anonymous Owned by: nobody
Component: Documentation Version: dev
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

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 (1)

runtest-docs.patch (903 bytes ) - added by Bjorn Stabell 16 years ago.

Download all attachments as: .zip

Change History (3)

by Bjorn Stabell, 16 years ago

Attachment: runtest-docs.patch added

comment:1 by Simon G <dev@…>, 16 years ago

Summary: SITE_ID no longer required to run all tests?Document that SITE_ID is no longer required to run all tests
Triage Stage: UnreviewedReady for checkin

comment:2 by Malcolm Tredinnick, 16 years ago

Resolution: fixed
Status: newclosed

Fixed in [6830]

Note: See TracTickets for help on using tickets.
Back to Top