Well, so it's not a bug!
But it's an enhancement:: http://code.djangoproject.com/ticket/5673
Thanks a lot,
Xan.
On Oct 2, 8:49 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> As James says, it's not a bug. But I'd agree it seems a little odd, until
> you look a little more closely at the admin
I've implemented multi-column ordering in my own projects, and don't
think it's that tricky to use (in the UI, implementation may be tricky
but not too tricky). I use multi-column ordering all the time in my
apps and most desktop apps, so I'd love to see it built into the
Django admin.
In terms o
As James says, it's not a bug. But I'd agree it seems a little odd, until
you look a little more closely at the admin interface. It allows the user
to sort on fields by clicking on column headers. It gets a little messy to
try to combine that feature with multi-field ordering specified in the
mo
On 10/2/07, Xan <[EMAIL PROTECTED]> wrote:
> I know that this behaviour is documented, but is it a bug so?. The
> strange behaviour of admin, even altough it's documented, is strange.
> Why you don't consider it a bug? Is there a ticket of that? Do you
> plan to change this (strange) behaviour in
Yes. I understand it.
I know that this behaviour is documented, but is it a bug so?. The
strange behaviour of admin, even altough it's documented, is strange.
Why you don't consider it a bug? Is there a ticket of that? Do you
plan to change this (strange) behaviour in next version (svn)? If not,
w
On Mon, Oct 01, Xan wrote:
>
>
>
> On Sep 30, 11:22 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> > On 9/30/07, Xan <[EMAIL PROTECTED]> wrote:
> >
> > > Although ordering is ('tipus', 'nom'), django admin interface displays
> > > the Centre objects by 'tipus' but randomly (?) with 'nom'. I
On Sep 30, 11:22 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On 9/30/07, Xan <[EMAIL PROTECTED]> wrote:
>
> > Although ordering is ('tipus', 'nom'), django admin interface displays
> > the Centre objects by 'tipus' but randomly (?) with 'nom'. I don't
> > know how can I do, because, in shel
On 9/30/07, Xan <[EMAIL PROTECTED]> wrote:
> Although ordering is ('tipus', 'nom'), django admin interface displays
> the Centre objects by 'tipus' but randomly (?) with 'nom'. I don't
> know how can I do, because, in shell when I put
> > Centre.objects.order_by('tipus', 'nom')
Please read the Dj
Hi,
In my project, I have this class:
class Centre(models.Model):
[...]
tipus = models.CharField(maxlength=14, choices=TIPUS_CENTRE,
verbose_name="Tipus de centre", default='IES')
nom = models.CharField(maxlength=100, verbose_name="Nom del centre")
[...]
def __str__(se