I had a similar issue, solved with a trick.
Try to explicit a save() method for your SuperDelegate this way:
def save(self, *args, **kwargs):
super(SuperDelegate, self).save(*args, **kwargs)
Giovanni
On 6 Set, 12:09, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> A foreignkey in a
A foreignkey in a model with a customised objects manager is causing
an exception when that parent model is saved.
Model 'SuperDelegate' has a boolean field 'is_active'. 'Delegate'
model has a ForeignKey to SuperDelegate. I only want to ever show
active SuperDelegates so the objects manager has t
2 matches
Mail list logo