On Mon, Oct 18, 2010 at 1:08 PM, Ferran <fer...@fompi.net> wrote: > Hello all; > > I'm just learning Django and i'm trying to get proxy db managers > working, but i can't manage to get it working. I've read the docs and > tried to search on google, but it seems unuseful. > > Can anybody help me? >
Don't put your router code in with your models, and you will avoid this circular import issue. Create a new module with no other dependencies and put your router code in there. Cheers Tom -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.