Re: order_by function

2008-11-21 Thread Емил Иванов / Emil Ivanov
Check out http://docs.djangoproject.com/en/dev/ref/models/querysets/#order-by-fields 2008/11/21 Luke Seelenbinder <[EMAIL PROTECTED]>: > > Can I order_by a function within the model? I know you can list them > in the admin inteface, etc. But can you order_by a model function? Or > would you have

Re: Why Django doesn't force testing?

2009-01-05 Thread Емил Иванов / Emil Ivanov
As Russell Keith-Magee suggested having a tutorial on how to do testing is a good way to go. Modifying the django tutorial in the docs to include testing in it should help new-commers get used to testing. Also, having tests in the docs should help convince people that testing is the right way to

Re: Django-like PHP framework?

2009-01-05 Thread Емил Иванов / Emil Ivanov
Welding together Zend Framework, Doctrine and PHPUnit can give you a very good stack to work with. All 3 frameworks are very advanced. You won't get stuff like automatic model forms and the admin for example. Doctrine is a very advanced ORM tool (and a big a complex one as well). ZF is sort of th