Re: admin ordering for NULL fields

2011-05-27 Thread Kirill Spitsin
On Fri, May 27, 2011 at 12:35:26AM -0700, Dennis Schmidt wrote: > In the admin panel I set a (descending) ordering on a model's date > field. That's fine of course. Now, the "problem" is, that this field > may be NULL in some cases and I want these items to appear at the > beginning of the list. Th

admin ordering for NULL fields

2011-05-27 Thread Dennis Schmidt
In the admin panel I set a (descending) ordering on a model's date field. That's fine of course. Now, the "problem" is, that this field may be NULL in some cases and I want these items to appear at the beginning of the list. They appear at the very end. If I set the ordering to ASCENDING, then they