Thanks for the reply. There's no real problem. I just want the audit
columns to appear after the more important ones if I'm looking at the
db. I guess it's a matter of readability.
On Apr 8, 11:04 am, Malcolm Tredinnick
wrote:
> On Tue, 2009-04-07 at 19:30 -0700, rvr wrote:
> > Is there a way to
On Tue, 2009-04-07 at 19:30 -0700, rvr wrote:
> Is there a way to specify a field in an abstract base class, but have
> the corresponding column appear last in the table's column list?
>
> class A(models.Model):
> ts = models.DateTimeField(default=datetime.now())
> class Meta:
> a
Is there a way to specify a field in an abstract base class, but have
the corresponding column appear last in the table's column list?
class A(models.Model):
ts = models.DateTimeField(default=datetime.now())
class Meta:
abstract = True
class B(A):
blah = CharField()
I'd like
3 matches
Mail list logo