Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's great to see the Django tutorial extended to cover testing[1] and writing reusable apps[2]. These days there are quite a few Django tutorials out there covering best practices etc. (which are very good) but I would still recommend the official Poll app tutorial to any beginner because of it's simplicity.

[1]: https://docs.djangoproject.com/en/1.5/intro/tutorial05/

[2]: https://docs.djangoproject.com/en/1.5/intro/reusable-apps/



Unit testing Django applications has been a source of pain for me. Writing functional or acceptances is ok using Django test client, although many recommend using WebTest, which is nice but slow if you're going to write hundreds of them.


I agree about the slow running time of Django tests although I have found that using sqlite database backend for tests reduces the time significantly.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: