On Mon, 2006-10-02 at 02:10 -0700, Corey wrote:
> Never mind, I figured it out. I put the import inside the class instead
> of outside the class.
>
> I need more caffeine.
Wait a minute, here... I just wrote 400 words on where the problem is
going to be (assuming it was a Django bug) and how you
Hi Corey,
On Mon, 2006-10-02 at 02:06 -0700, Corey wrote:
> I have put a custom manager in a file called managers.py. When I import
> it in the model, and assign it to objects I get this strange error:
>
> unbound method contribute_to_class() must be called with AddressManager
> instance as firs
Never mind, I figured it out. I put the import inside the class instead
of outside the class.
I need more caffeine.
Corey
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group
I have put a custom manager in a file called managers.py. When I import
it in the model, and assign it to objects I get this strange error:
unbound method contribute_to_class() must be called with AddressManager
instance as first argument (got ModelBase instance instead)
I don't get the error wh
4 matches
Mail list logo