3 ms·
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 cov
by naiquevin 14y ago
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/ https://docs.djangoproject.com/en/1.5/intro/tutorial05/
[2]: https://docs.djangoproject.com/en/1.5/intro/reusable-apps/ https://docs.djangoproject.com/en/1.5/intro/reusable-apps/
- mkhattab 14y agoUnit 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.
- naiquevin 14y agoI agree about the slow running time of Django tests although I have found that using sqlite database backend for tests reduces the time significantly.