thanks, this was the problem
V
On May 25, 9:51 pm, Sam Chuparkoff wrote:
> On Mon, 2009-05-25 at 09:42 -0700, Viktor wrote:
> > super(self.__class__, self).save(force_insert, force_update)
>
> This line at least is bad. You want:
>
> super(AcceptedRoleAbstract, self).save(force_insert
On May 25, 9:19 pm, Karen Tracey wrote:
> On Mon, May 25, 2009 at 12:42 PM, Viktor wrote:
>
> > Hi,
>
> > I have the following abstract model, but it's child models fail saving
> > with RuntimeError: maximum recursion depth exceeded
>
> When you get that error, it comes with a stack trace. Does
On Mon, 2009-05-25 at 09:42 -0700, Viktor wrote:
> super(self.__class__, self).save(force_insert, force_update)
This line at least is bad. You want:
super(AcceptedRoleAbstract, self).save(force_insert, force_update)
Do post again as per Karen's request if you're still having trouble.
On Mon, May 25, 2009 at 12:42 PM, Viktor wrote:
>
> Hi,
>
> I have the following abstract model, but it's child models fail saving
> with RuntimeError: maximum recursion depth exceeded
>
When you get that error, it comes with a stack trace. Does that not make it
clear how the code is getting in
Hi,
I have the following abstract model, but it's child models fail saving
with RuntimeError: maximum recursion depth exceeded
class AcceptedRoleAbstract(models.Model):
'''
Represents a User that should accept a role
E.g.: Discutant, Reviewer
'''
user = models.OneToOneField(
5 matches
Mail list logo