Creating environments in Django
Posted by Jeremy Voorhis Wed, 24 Aug 2005 00:18:50 GMT
I am experimenting with creating a test environment in Django. So far, it is easy
- create test database
- copy settings/main.py to settings/test.py
- alter test.py to point at your test database
- django-admin.py init—settings=myapp.settings.test
- run django-admin.py to install your apps, and you should be good to go.
Next step is learning how to pound my apps with unittest.
