Opened 17 years ago
Closed 17 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)
Change History (3)
by , 17 years ago
Attachment: | runtest-docs.patch added |
---|
comment:1 by , 17 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: | Unreviewed → Ready for checkin |
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in [6830]