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

  1. create test database
  2. copy settings/main.py to settings/test.py
  3. alter test.py to point at your test database
  4. django-admin.py init—settings=myapp.settings.test
  5. 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.

Comments

Trackbacks

Use the following link to trackback from your own site:
http://www.jvoorhis.com/articles/trackback/19

(leave url/email »)