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 when I add the manager class to the model file.

If I import the manager in the shell, and instantiate it, it works
fine.

Any thoughts?

Thanks,

Corey


--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to