Solved on SO, but an extremely educational response.
I learned about mutable default argument
gotcha
https://stackoverflow.com/questions/1132941/least-astonishment-and-the-mutable-default-argument
And Django Modified Preorder Tree Traversal
https://github.com/django-mptt/django-mptt
--
You
I also posted this to SO
https://stackoverflow.com/questions/58600159/search-results-from-a-django-model-method-including-the-results-from-earlier-cal
hope that's ok, let me know if not.
I have a Django Model that tracks email message IDs as the message passes
through different servers. It has
2 matches
Mail list logo