I just discovered something fantastic about Django I didn't know before. I realise that isn't saying much about my knowledge. But I'm impressed.

I recently wrote a new model and put in a lot of time making it do stuff and writing the tests to prove it worked. I realised I had forgotten to syncdb but the tests were all behaving properly.

I dug deeper and saw Django actually create the table in the test database!

From that point I realised I could play around with the field structure until I was happy. The test database gets deleted after every run.

When I'm finished I can syncdb and lock it in.

Delicious!

Mike

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to