Document that SITE_ID is no longer required to run all tests
|Reported by:||anonymous||Owned by:||nobody|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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.
Change History (3)
Changed 6 years ago by beorn
comment:1 Changed 6 years ago by Simon G <dev@…>
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- 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
- Triage Stage changed from Unreviewed to Ready for checkin