Re: Manager overriding error

2006-05-09 Thread Adrian Holovaty
On 5/9/06, Kevin <[EMAIL PROTECTED]> wrote: > I ran into this problem as well. The issue is that super() expects the > child class not the parent class (the documentation is wrong), Ah, thanks for pointing this out! I've corrected the docs. Adrian -- Adrian Holovaty holovaty.com | djangoprojec

Re: Manager overriding error

2006-05-09 Thread Kevin
I ran into this problem as well. The issue is that super() expects the child class not the parent class (the documentation is wrong), so try this: super(DahlBookManager, self).get_query_set().. instead of super(Manager, self).get_query_set() In addition, it wouldn't let me create the Manage

Re: Manager overriding error

2006-05-09 Thread Russell Keith-Magee
On 5/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Unfortunately this is not the case, I'm using the new version, > downloaded through SVN. No, you're not. Look at your stack trace - it references the 0.91 egg. If you have downloaded the SVN version, it would appear that you haven't cor

Re: Manager overriding error

2006-05-09 Thread [EMAIL PROTECTED]
Unfortunately this is not the case, I'm using the new version, downloaded through SVN. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegr

Re: Manager overriding error

2006-05-08 Thread Russell Keith-Magee
On 5/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I'm trying to modify Manager querysets but I'm unable to make the... "c:\python24\lib\site-packages\django-0.91-py2.4.egg\django\db\models\manager.py",Hi,You're using an old version of Django - v0.91 doesn't contain any of the new Queryset log

Manager overriding error

2006-05-08 Thread [EMAIL PROTECTED]
I'm trying to modify Manager querysets but I'm unable to make the example (Person, Men, Women) from Django Model Reference page to work. When I call Person.men.all() I get this error: Traceback (most recent call last): File "", line 1, in ? File "c:\python24\lib\site-packages\django-0.91-py