Héllo, I got a problem with manager, some of you may already know it, I try my best to like them, if anyone can explain me the purpose of their existence I will be so much grateful :)
Like I said, I try my best but: 0) Documentation references<https://docs.djangoproject.com/en/dev/topics/db/managers/#custom-managers-and-model-inheritance>«default_manager», but I don't find it in the code, is it a documentation bug ? 0bis) What is the purpose of «_default_manager» and «_base_manager» ? 1) What is the purpose of «Manager.db<https://github.com/django/django/blob/master/django/db/models/manager.py#L25>», it's not used in Manager class, so I don't think it's used anywhere else 2) Polymorphism - Is there anyone that can debug two level and more of inheritance in Django-Polymorphic<https://github.com/chrisglass/django_polymorphic/issues/11> - I think this a revision of Django Polymorphic that works with that problem, anyone knows the revision hash ? - Do you know any other application that does polymorphism the way I need it (with several level of inheritance) ? If they are answers to question 2, I might no need the answer to the following questions, I still would like to know. I have the following models, manager and querysets https://gist.github.com/3826531 According to the code of Manager in manager.py<https://gist.github.com/3826531>, I just need to override «get_query_set», but here is what I get as results, the bug is in the second line: In [14]: PolymorphicQuerySet(Entry) > Out[14]: [<Entry: foo>, <Article: bar>, <Article: bar>, <Article: bar>, > <Article: bar>, <Article: bar>, <Article: bar>] > In [15]: Entry.objects.all() > Out[15]: [] What am I doing wrong ? Thanks, Amirouche -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/G20heNLwu6IJ. To post to this group, send email to django-users@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.