Re: Default sort order in admin

2009-11-16 Thread Zeynel
Yes, this is probably true. I am still learning. And I like Django and how it works but it takes time to understand some concepts. I was rushing a little bit because I wanted to meet this challenge >> [the tutorial] is enough to build it in no longer that a few days (learning >> included), >>

Re: Default sort order in admin

2009-11-16 Thread Daniel Roseman
On Nov 16, 4:31 pm, Zeynel wrote: > Thanks! > > I noticed that using > > class Lawyer(models.Model): >     ... >     ordering = ('last',) > > did not work. > > But this worked > > class Lawyer(models.Model): >     ... >     class Meta: >         ordering = ('last',) > > copied

Re: Default sort order in admin

2009-11-16 Thread Preston Holmes
are both "correct" -Preston > > On Nov 16, 10:22 am, Karen Tracey <kmtra...@gmail.com> wrote: > > > > > On Mon, Nov 16, 2009 at 10:11 AM, Zeynel <azeyn...@gmail.com> wrote: > > > Hi, > > > > Is there a way to change the default

Re: Default sort order in admin

2009-11-16 Thread Zeynel
is the correct way actually? On Nov 16, 10:22 am, Karen Tracey <kmtra...@gmail.com> wrote: > On Mon, Nov 16, 2009 at 10:11 AM, Zeynel <azeyn...@gmail.com> wrote: > > Hi, > > > Is there a way to change the default sort order in admin of my sqlite > > db? At this point it

Re: Default sort order in admin

2009-11-16 Thread Karen Tracey
On Mon, Nov 16, 2009 at 10:11 AM, Zeynel <azeyn...@gmail.com> wrote: > Hi, > > Is there a way to change the default sort order in admin of my sqlite > db? At this point it sorts the table in the order entered (last > entered item first). > > http://docs.djangoproject.c

Default sort order in admin

2009-11-16 Thread Zeynel
Hi, Is there a way to change the default sort order in admin of my sqlite db? At this point it sorts the table in the order entered (last entered item first). Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g