How do I create a filter in Django Admin to only display records where an integer value lies between two values? For example, if I have a model Person, which has an age attribute, and I on开发者_JAVA百
Class A { A(B& b) : mb(b) { // I will not access anything from B here } B& mb; }; Class B { B(): a(*this)