Re: date-based ordering confusion

2009-02-14 Thread Alex Gaynor
On Sun, Feb 15, 2009 at 12:25 AM, Justin Myers wrote: > > On Feb 14, 12:55 am, Gour wrote: > > Finally, I managed to add 'class Meta' as subclass of BlogPost class (as > > above), but I wonder if adding 'ordering = ('-timestamp',)' to > > BlogPostAdmin

Re: date-based ordering confusion

2009-02-14 Thread Justin Myers
On Feb 14, 12:55 am, Gour wrote: > Finally, I managed to add 'class Meta' as subclass of BlogPost class (as > above), but I wonder if adding 'ordering = ('-timestamp',)' to > BlogPostAdmin class is supposed to work or what is explanation if it > should not work (as we

date-based ordering confusion

2009-02-13 Thread Gour
Hi! I'm doing my 1st steps in Python/Django using Python Web Development with Django book (http://withdjango.com/) Chapter 2 is 'developing' simple blog app and here is the model: From django.db import models From django.contrib import admin # Create your models here. class

date-based ordering confusion

2009-02-13 Thread Gour
Hi! I'm doing my 1st steps in Python/Django using Python Web Development with Django book (http://withdjango.com/) Chapter 2 is 'developing' simple blog app and here is the model: From django.db import models From django.contrib import admin # Create your models here. class