Hi Jacob,
thanks, it's good to know that I'm not going to find the bug in my
code.
While trying different things, I too found out that adding the
"ordering"-option made the listview work again. The first thing I tried
was adding ordering = ['theparent']:
class FirstChild(meta.Model):
Hey Andreas --
I actually ran into this same problem myself today. It appears to be
a bug in the admin changelist view; until I get a chance to actually
track it down you can work around it by adding a "ordering" option to
your META.admin::
class FirstChild(meta.Model):
...
I'm trying to order a class by its parent, but apparently I'm doing
something wrong. The code I use:
class ParentClass(meta.Model):
somevar= meta.CharField(maxlength=100)
def __repr__(self):
return self.somevar
class META:
admin = meta.Admin()
ord
3 matches
Mail list logo