Currently there is the demo project in the project root, and also there is the test_project inside the tests root. Both things do more or less the same. Also demo and test_project both have a testapp.
This PR puts demo inside the tests root and merges what was inside both projects and the testapps into one single unit. This means lots of less code to maintain, that the demo is subject to testing (it is the test!).
Also, docs/demo.rst is added with instructions.
As a bonus, the demo can use the test factories to populate the database with demo data with ./manage.py createdemodata.
Currently there is the
demo
project in the project root, and also there is thetest_project
inside the tests root. Both things do more or less the same. Alsodemo
andtest_project
both have a testapp.This PR puts
demo
inside the tests root and merges what was inside both projects and the testapps into one single unit. This means lots of less code to maintain, that the demo is subject to testing (it is the test!).Also, docs/demo.rst is added with instructions.
As a bonus, the demo can use the test factories to populate the database with demo data with
./manage.py createdemodata
.